Saving ListBox ITEM to MySQL database in vb 2008

Saving ListBox ITEM to MySQL database in vb 2008

Page 1 of 1

0 Replies - 1132 Views - Last Post: 14 January 2011 - 12:55 AM Rate Topic: -----

#1 x2fair  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 13-January 11

Saving ListBox ITEM to MySQL database in vb 2008

Posted 14 January 2011 - 12:55 AM

How to save Lisybox Item to Mysql Database...
I have a code which look like this:

(rs("route1").Value, .ListBox1.Items(0))
(rs("route2").Value, .ListBox1.Items(1))
(rs("route3").Value, .ListBox1.Items(2))
(rs("route4").Value, .ListBox1.Items(3))
(rs("route5").Value, .ListBox1.Items(4))
(rs("route6").Value, .ListBox1.Items(5))
(rs("route7").Value, .ListBox1.Items(6))
(rs("route8").Value, .ListBox1.Items(7))
(rs("route9").Value, .ListBox1.Items(8))
(rs("route10").Value, .ListBox1.Items(9))
(rs("route11").Value, .ListBox1.Items(10))
(rs("route12").Value, .ListBox1.Items(11))

This post has been edited by modi123_1: 14 January 2011 - 08:44 AM
Reason for edit:: please use code tags


Is This A Good Question/Topic? 0
  • +

Page 1 of 1