如何在数据库中插入datagrid的数据? [英] how to insert data of datagrid in database ?
本文介绍了如何在数据库中插入datagrid的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
datagrid是从按钮单击的文本框中填充的,现在所有的行都要保存在数据库中的wpf
在winform我知道但是在wpf中怎么做?
datagrid is filled from a textbox on button click and now all rows are to save in database in wpf
in winform me know but how do it in wpf ?
推荐答案
http://www.dotnetcurry.com/ShowArticle.aspx?ID=566 [ ^ ]
在sql表中插入和更新在WPF中使用datagrid。 [ ^ ]
http://www.c-sharpcorner.com/uploadfile/9f4ff8/wpf-perform-all-database-operations/ [ ^ ]
http://www.dotnetcurry.com/ShowArticle.aspx?ID=566[^]
Insert and update in sql table using datagrid in WPF.[^]
http://www.c-sharpcorner.com/uploadfile/9f4ff8/wpf-perform-all-database-operations/[^]
在本文中,Data绑定到DataGrid,所以请参考:
数据绑定使用SQL Server数据库的WPF DataGrid控件 [ ^ ]
In this article, Data is bound to the DataGrid, so please have a reference from it :
Data binding in WPF DataGrid control using SQL Server database[^]
这篇关于如何在数据库中插入datagrid的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文