Hello I Joined you recently
I am working in software dept.
Please let me know how we can get value from checkedlistbox with the help of for loop so that we can store the data in a seperate table
my code is here:
For i = 0 To j - 1
Dim val As String = ""
val = SelectGovt.Chec kedItems.IndexO f(SelectGovt.Ch eckedItems(i)). ToString()
govt = "insert into selectgovt values ('" & val(val) & "' )"
comm = New SqlCommand(govt , con)
adap = New SqlDataAdapter( comm)
comm.ExecuteNon Query()
Next
Thanks in advance
I am working in software dept.
Please let me know how we can get value from checkedlistbox with the help of for loop so that we can store the data in a seperate table
my code is here:
For i = 0 To j - 1
Dim val As String = ""
val = SelectGovt.Chec kedItems.IndexO f(SelectGovt.Ch eckedItems(i)). ToString()
govt = "insert into selectgovt values ('" & val(val) & "' )"
comm = New SqlCommand(govt , con)
adap = New SqlDataAdapter( comm)
comm.ExecuteNon Query()
Next
Thanks in advance
Comment