编辑选定的DataGridView行时如何在数据库中更新 [英] how to update in database when edited selected Row of DataGridView
本文介绍了编辑选定的DataGridView行时如何在数据库中更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我在数据库表(table1)中有4列,column1是主键,其形式为4个文本框.
我的问题是如何将Edited数据插入到table的同一行.请以示例为例
hi all,
i''ve 4 columns in database table(table1),column1 is primary key and 4 textboxes in the form.
my question is how to insert Edited data to same row of table.please reply with an example
推荐答案
希望 ^ ]将为您提供帮助.
Hope http://dotnetperls.com/datagridview-tutorial[^] will help you.
这篇关于编辑选定的DataGridView行时如何在数据库中更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文