I have multiple value return from the below code and I would like to store this value into paramter collection and i am not sure how i do that.any help would be appreciated.
strVendor could hold vendor name A, B, C .....
Dim strSVendor As String = ""
For Each liThisOne In lstState.Items
If liThisOne.Selected Then
strVendor = strVendor & "'" & liThisOne.Value & "'" & ","
End If
Next
myCommand3.Parameters.AddWithValue(":Vendorname",strVendor)
strVendor could hold vendor name A, B, C .....
Dim strSVendor As String = ""
For Each liThisOne In lstState.Items
If liThisOne.Selected Then
strVendor = strVendor & "'" & liThisOne.Value & "'" & ","
End If
Next
myCommand3.Parameters.AddWithValue(":Vendorname",strVendor)