如何将列表框内容存储到数据库表中
问题描述:
你好
我想将列表框项目存储到mysql中的表中,对此的查询是什么
重播我
问候
ginnas
hello
i wanted to store listbox items in to the table in mysql what is the query for that
replay me
regards
ginnas
答
希望此链接可以解决您的问题.
http://msdn.microsoft.com/zh-cn/library/33y2221y%28v=vs.71%29.aspx[^]
Hope this link will solve your problem.
http://msdn.microsoft.com/en-us/library/33y2221y%28v=vs.71%29.aspx[^]
让我们说我想将listBox1项存储到DB
Let''s Say that i want to store the listBox1 items into DB
foreach (var item in listBox1.Items)
{
//replace this line with your insert code
MessageBox.Show(item.ToString());
}
A.Mandour,
A.Mandour,