Thankyou Fan
yes thefirts item in listbox should be inserted to 1st column,2nd item in list to 2nd column and soon.
The number of columns in database table is 10
The number of items in list may vary from 1-10
suppose there are 10 items in list 10 columns in database table are filled
but if there are only 5 items in list 1st 5 columns of database table are filled and the rest are assigned Null.
All columns are of type varchar and contents of lIstbox are strings.
Let me know if you need more details
Main Topics
Browse All Topics





by: fanopoePosted on 2008-03-14 at 13:00:49ID: 21128953
do you mean that for 1 item insert to 1st column, for 2 items, insert to 1st 2 columns, ....?
also, what are you inserting into the columns?
I think we need a clearer picture of your list's relationship to the table