Checkedlistbox到数据库存储过程 [英] Checkedlistbox to database store process
本文介绍了Checkedlistbox到数据库存储过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请将Checkedlistbox的代码发送给C#中的数据库存储过程..
我试试这段代码..
OleDbCommand cmproduct = new OleDbCommand( < span class =code-string> INSERT INTO productlist(productname,producttype)VALUES( + chlproductname.CheckedItems + ',' + chlproducttype.CheckedItems + ',con);
请有人帮我...
解决方案
http://www.c-sharpcorner.com/Forums/Thread/ 89114 / [ ^ ]
Please send me the code for Checkedlistbox to database store process in C#..
I try this code..
OleDbCommand cmproduct = new OleDbCommand("INSERT INTO productlist (productname, producttype) VALUES(" + chlproductname.CheckedItems+ "','" + chlproducttype.CheckedItems+ "', con);
Please some one help me...
解决方案
http://www.c-sharpcorner.com/Forums/Thread/89114/[^]
这篇关于Checkedlistbox到数据库存储过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文