|
-
Oct 28th, 2010, 07:36 AM
#1
Thread Starter
Lively Member
[RESOLVED] checkedlistbox to check the values as per database
i have the below code
For i = 0 To Me.checkedlistbox1.Items.Count - 1
If reader("productname") = checkedlistbox1.SelectedItem(i).ToString Then
checkedlistbox1.SetItemCheckState(i, chkstate)
End If
from the checkedbox list i want the items in the checkedlistbox1 to be checked depending on the matching text frm the database (reader("productname"))
but its not working correctly
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|