hari.rao
08-28-2007, 05:56 AM
Hi guys, Im new here. Anyway, im having this problem of inserting multiple string of data into the same table. I am using <asp:checkboxlist> and the items from the check box is dynamically genarated. Below is the code that i am using to split the checkbox, and i am not able to read the checkbox.
Anybody out there,... pls help me if you have experienced it before.. thanks mate.
Dim MyArray = Split(Request.Params("checkBusinessType"),",")
Dim i
For i=0 to UBound(MyArray)
strSql = "INSERT INTO TBLUSER_MANAGEMENT (SYSTEM_OWNERS, SYSTEMID) "
strSql += "VALUES ('"& trim(txtEmail.Text) &"','"& MyArray(i) &"');"
response.write(strSql)
Dim cmdJob3 As OleDbCommand
Anybody out there,... pls help me if you have experienced it before.. thanks mate.
Dim MyArray = Split(Request.Params("checkBusinessType"),",")
Dim i
For i=0 to UBound(MyArray)
strSql = "INSERT INTO TBLUSER_MANAGEMENT (SYSTEM_OWNERS, SYSTEMID) "
strSql += "VALUES ('"& trim(txtEmail.Text) &"','"& MyArray(i) &"');"
response.write(strSql)
Dim cmdJob3 As OleDbCommand