如何通过DataGrid插入数据在wpf中 [英] How to Insert Data through DataGrid In wpf

查看:920
本文介绍了如何通过DataGrid插入数据在wpf中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨专家

我是WPF新手。我有一个包含带有autogenratecolumns false的Datagrid的表单。我有6列。我希望通过这些列将数据插入到sql表中。我有按钮添加更多,我想在datagrid中添加一个新行。我想插入DataGrid的所有数据按提交按钮...



Plz帮助..



先谢谢。

Hi Experts
I am New to WPF. I have a form that contains a Datagrid with autogenratecolumns false.I have 6 columns .I want insert data into sql table through these columns. I have button "Add More" by this i want to add a new row in datagrid .I want to insert all data of DataGrid By Submit Button...

Plz Help..

Thanks In Advance.

推荐答案

试试以下链接



WPF DataGrid实际示例 [ ^ ]


这篇关于如何通过DataGrid插入数据在wpf中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆