This question is locked. New answers and comments are not allowed.
I have one radlistbox which contains users names and fetching records from the database and i am comparing databse names and radlistbox uaernames if both are matching iam selecting that name in listbox but here iam getting exception
Here is my code
I
Here is my code
For i As Integer = 0 To dtusers.Rows.Count - 1
If fmEmailSubscription_chklistusers.Items.Count > 0 Then
For m As Integer = 0 To CheckedIds.Count - 1
If CheckedIds(m) = dtusers.Rows(i).Item(0) Then
fmEmailSubscription_chklistusers.SelectedValue = dtusers.Rows(i).Item(0)
fmEmailSubscription_chklistusers.SetSelected(fmEmailSubscription_chklistusers.SelectedIndex, True)
End
If
Next
fmEmailSubscription_chklistusers.SelectedValue = dtusers.Rows(i).Item(0)
End If
Next
I