如何从列表视图将数据插入数据库 [英] How to insert data into database from a listview
本文介绍了如何从列表视图将数据插入数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我有一个包含2列和3行的列表视图.
ItemName,价格为2列和2个数据,类似;
大米,20.00
燕麦30.00
我必须通过单击保存按钮将这2个数据插入数据库.
所以怎么办,我不明白.请帮帮我.
谢谢
Hi dere,
I have a listview with 2 columns and 3 rows.
ItemName,Price as 2 column and 2 datas are there like;
Rice,20.00
Oat,30.00
I have to insert these 2 data to database by clicking the save button.
so how to do this,i dont understand.Please sumbody help me.
Thanks
推荐答案
(听起来像:我有车,引擎不工作-有帮助...)
请提供有关该问题的更多详细信息-
哪种数据库(SQL Server等),新表,现有表的列行?您是否有一个现有的数据集?
也许有人可以帮助您
( Sound like: I have a car and the engine does not work - any help ... )
Please offer some more deatails about the problem -
Which kind of database (SQL server etc) , a new table, columns rows of an existing table ?? Do you have an exististing dataset ?
than maybe someone can help you
这篇关于如何从列表视图将数据插入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文