如何从gridview控件在数据库中插入多个记录 [英] how to insert multiple records in database from gridview control
本文介绍了如何从gridview控件在数据库中插入多个记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hiiii
我需要一个解决方案,以了解如何从gridview控件中在db中插入多个记录.
hiiii
i need a solution for how to insert multiple records in db from gridview control
推荐答案
您使用数据访问代码将值写入数据库.
You use your Data Access code to write the values into the database.
您可以放置插入按钮"和使用行命令"事件,并在写查询后的代码中对其进行处理以插入这些值..
you can place Insert Button and Use row command event and handle it in code behind write query for inserting those values..
这篇关于如何从gridview控件在数据库中插入多个记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文