01.
<table id=
"Table1"
width=
"100%"
>
02.
<tr>
03.
<td>
04.
<asp:UpdatePanel ID=
"Up1"
runat=
"server"
>
05.
<ContentTemplate>
06.
<asp:Label ID=
"Label_1"
runat=
"server"
Text=
"1. "
></asp:Label>
07.
<asp:DropDownList ID=
"DropDownList_1"
runat=
"server"
DataSourceID=
"SqlData_object"
DataTextField=
"name_obj"
DataValueField=
"name_obj"
AutoPostBack=
"true"
></asp:DropDownList>
08.
<asp:SqlDataSource ID=
"SqlData_object"
runat=
"server"
ConnectionString=
"<%$ ConnectionStrings:QCConnectionString %>"
SelectCommand=
"SELECT [name_obj] FROM [obj_list_object]"
></asp:SqlDataSource>
09.
</ContentTemplate>
10.
</asp:UpdatePanel>
11.
จำนวน
12.
<asp:TextBox ID=
"TextBox_unknown_1"
runat=
"server"
Width=
"40"
></asp:TextBox>
13.
<asp:TextBox ID=
"TextBox_etc_un_1"
placeholder=
"ไม่พบในListให้กรอกช่องนี้"
runat=
"server"
Width=
"160"
></asp:TextBox>
14.
<input type=
"button"
id=
"bt_del_1"
name =
"bt_del_1"
value=
"<--ลบ"
onclick=
"document.getElementById('Table1').style.display = 'none';"
/>
15.
<input type=
"button"
id=
"bt_add_1"
name =
"bt_add_1"
value=
"เพิ่มวัตถุที่ 2."
onclick=
"document.getElementById('Table2').style.display = '';"
/>
16.
</td>
17.
</tr>
18.
</table>