从DataGrid批量插入数据库 [英] Bulk Insert from DataGrid to database
本文介绍了从DataGrid批量插入数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
在我的应用程序中,我正在使用datagrid.我想将数据从datagrid插入数据库中.当前,我正在使用for循环来执行此操作,但这会降低.net的性能,因此请向我建议最好和简单的方法.
谢谢,
Deepak
Hi All,
In my application i am using datagrid.I want to insert data from datagrid to database.currently i am using for loop to do it but it decreases performance i m new to .net so please suggest me best and simple way to do it.
Thanks,
Deepak
推荐答案
从数据集中更新数据库
假设您使用数据集
Update database from dataset
have a look at this assuming your using a dataset
这篇关于从DataGrid批量插入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文