在WPF中使用datagrid在sql表中插入和更新. [英] Insert and update in sql table using datagrid in WPF.
本文介绍了在WPF中使用datagrid在sql表中插入和更新.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了具有DataGrid控件的简单wpf应用程序.
绑定完成得很好.
现在,我想像在GridView中一样使用此DataGrid执行insert,update删除操作.
请指导我如何实现此目标.
在此先感谢.
Hi,
I have created simple wpf application having DataGrid Control.
binding of this is done well.
Now I want to perform insert , update delete operations using this DataGrid as we do in GridView.
Please guide me how can i achieve this.
Thanks in advance.
推荐答案
希望 WPF中的DataGrid使用SQL Server Compact 3.5 Sp1 [^ CP的]文章可能会对您有所帮助.
Hope DataGrid in WPF using SQL Server Compact 3.5 Sp1[^] article from CP might help you.
这篇关于在WPF中使用datagrid在sql表中插入和更新.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文