Sub Button1_Click(sender As Object, e As EventArgs)
Dim chkCusID As CheckBox
Dim lblID As Label
Dim i As Integer
lblText.Text = ""
For i = 0 To myGridView.Rows.Count - 1
chkCusID = myGridView.Rows(i).FindControl("chkCustomerID")
lblID = myGridView.Rows(i).FindControl("lblCustomerID")
IF chkCusID.Checked = True Then
'*** Have lblID.Text ***'
Me.lblText.Text = Me.lblText.Text & "<br>" & lblID.Text
End IF
Next
End Sub
Dim rd0 As RadioButton
rd0 = CType(gvReferance.Rows(i).FindControl("rdS1P0"), RadioButton)
If rd0.Checked Then
Label14.Text += gvReferance.Rows(i).Cells(0).Text & "0"
Label13.Text += "0,"
End If