下面是HMTL 頁面代碼
<form id=
<asp:datagrid id=
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<input type=
<asp:Label runat=
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid><br>
<asp:Button id=
下面是Page_Load中的數據綁定代碼
Dim arr As New ArrayList
arr
arr
arr
arr
arr
arr
arr
DataGrid
DataGrid
下面是btnOk_Click中獲取選擇項的代碼
Response
下面是設置綁定項中哪個Radio被中的函數
Public Function GetChecked(ByVal str As String) As String
If str = Request
Return
Else
Return
End If
End Function
From:http://tw.wingwit.com/Article/program/net/201311/12986.html