主要功能在这里我想也就是这里出错:
Label3.Text = Request.Form("myradiogroup") Dim i As DataGridItem
For Each i In DataGrid1.Items
If i.ItemType = ListItemType.AlternatingItem Or i.ItemType = ListItemType.Item Then
Dim r As Label
r = i.FindControl("Label2") If r.Text.IndexOf(Label3.Text) > 0 Then
r.Text = "<input type=radio name='myradiogroup' value=" & i.Cells(1).Text & " checked>"
Else
r.Text = "<input type=radio name='myradiogroup' value=" & i.Cells(1).Text & ">"
End If
End If
Next
Label3.Text = Request.Form("myradiogroup") Dim i As DataGridItem
For Each i In DataGrid1.Items
If i.ItemType = ListItemType.AlternatingItem Or i.ItemType = ListItemType.Item Then
Dim r As Label
r = i.FindControl("Label2") If r.Text.IndexOf(Label3.Text) > 0 Then
r.Text = "<input type=radio name='myradiogroup' value=" & i.Cells(1).Text & " checked>"
Else
r.Text = "<input type=radio name='myradiogroup' value=" & i.Cells(1).Text & ">"
End If
End If
Next
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货