Hi...
how to insert a listbox items in single field database?i m using Access.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suthish NairPosted May 21, 2011, 6:31 AM
Sam HobbsPosted May 21, 2011, 2:40 AM
guna sakthiPosted May 21, 2011, 1:52 AM
Suthish NairPosted May 20, 2011, 11:15 AM
Soumya SurendranPosted May 20, 2011, 8:02 AM
for(int i=0;i
cmd.CommandText="insert into table_name(field_name) values('"+listBox1.Items[i].toString()+"')";
cmd.ExecuteNonQuery;
}