在数据网格视图中编辑记录 [英] edit record in data gridview
本文介绍了在数据网格视图中编辑记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好!
我有一种形式,由
组成
datagridview
三个按钮
两个文本框
当我单击datagridview的项目时,它显示在tex框中
我想做些改变
直到这里清清楚楚
现在,之后如何更新编辑的记录
hi to all!
i have one form consist of
datagridview
three buttons
two text boxes
when i click on item of datagridview it display in tex boxes
and i want to make some changes
till here its clear
now after that how to update my edited record
推荐答案
因此,当您单击一行时,您似乎想在文本框中查看行数据.相反,为什么不使用可编辑的gridview并立即进行呢?以下是一些示例:
全功能可编辑GridView控件 [ http://www.codeguru.com/csharp/.net/net_data/datagrid/article.php/c13041 [ ^ ]
http://www.c-sharpcorner.com/UploadFile/mgold/EditableGridView11222005225133PM/EditableGridView.aspx [ ^ ]
或
使用obout提供的免费控件.这是链接 [
So seems like when you click a row you want to view the row data in the text-boxes. Instead why dont you use a editable gridview and do it right away? Here are some examples:
Full-featured Editable GridView Control[^]
http://www.codeguru.com/csharp/.net/net_data/datagrid/article.php/c13041[^]
http://www.c-sharpcorner.com/UploadFile/mgold/EditableGridView11222005225133PM/EditableGridView.aspx[^]
OR
using the free controls from obout.here is the link[^] for obout gridview.
Good luck
可能对你有所帮助
http://www.dotnetfunda.com/articles/article29.aspx http://forums.asp.net/p/1255252/2331422.aspx
May be helps youuuuuuu
http://www.dotnetfunda.com/articles/article29.aspx
http://forums.asp.net/p/1255252/2331422.aspx
这是您的解决方案. ..
http://www.dotnetfunda.com/articles/article29.aspx [
here is ur solution...
http://www.dotnetfunda.com/articles/article29.aspx[^]
thank you
这篇关于在数据网格视图中编辑记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文