Everyone..please help me...
I cannot save my list item to the database with this code.
Dim my_cmd As MySqlCommand
my_cmd = New MySqlCommand()
my_cmd.CommandText = "insert into documenttable values(route1,route2,route3,route4,route5,route6,route7,route8,route9,route10,route11,route12)"
rs.Open(query, conn, ADODB.CursorTypeEnum.adOpenStatic, ADODB.LockTypeEnum.adLockOptimistic)
my_cmd.Parameters.AddWithValue(rs("route1").Value, .ListBox1.Items(0))
my_cmd.Parameters.AddWithValue(rs("route2").Value, .ListBox1.Items(1))
my_cmd.Parameters.AddWithValue(rs("route3").Value, .ListBox1.Items(2))
my_cmd.Parameters.AddWithValue(rs("route4").Value, .ListBox1.Items(3))
my_cmd.Parameters.AddWithValue(rs("route5").Value, .ListBox1.Items(4))
my_cmd.Parameters.AddWithValue(rs("route6").Value, .ListBox1.Items(5))
my_cmd.Parameters.AddWithValue(rs("route7").Value, .ListBox1.Items(6))
my_cmd.Parameters.AddWithValue(rs("route8").Value, .ListBox1.Items(7))
my_cmd.Parameters.AddWithValue(rs("route9").Value, .ListBox1.Items(8))
my_cmd.Parameters.AddWithValue(rs("route10").Value, .ListBox1.Items(9))
my_cmd.Parameters.AddWithValue(rs("route11").Value, .ListBox1.Items(10))
my_cmd.Parameters.AddWithValue(rs("route12").Value, .ListBox1.Items(11))