将Datagridview更改保存到数据库 [英] Save Datagridview changes to Database

查看:81
本文介绍了将Datagridview更改保存到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过LINQ连接我的Datagridview
如何将datagrid更改保存到表中.

I connect my Datagridview via LINQ
How i can save datagrid changes to my table.
how to access my datatable?

推荐答案


请参考以下链接:
在Windows中使用Linq 在DataGridView中插入/更新/删除表单 [ ^ ]
ADO.NET实体:插入更新和删除 [演练:自定义实体类的插入,更新和删除行为 [在C#中使用LINQ到SQL的数据绑定 [
Hi,
Refer the links below:
Insert/Update/Delete in DataGridView using Linq in Windows Forms[^]
ADO.NET Entity: Insert Update and Delete[^]
Walkthrough: Customizing the Insert, Update, and Delete Behavior of Entity Classes[^]
Data Binding using LINQ to SQL in C#[^]


--Amit


这篇关于将Datagridview更改保存到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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