在Windows窗体中编辑和更新网格数据 [英] grid data edit and update in windows forms

查看:105
本文介绍了在Windows窗体中编辑和更新网格数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

代码以相同的形式编辑网格视图的数据

当我们单击gridview行上的edit按钮时,控件必须转到网格视图行的列,并允许我们进行更改
然后,如果我们单击更新"按钮,则应在网格上进行更新.

code to edit the data of grid view in the same form
i.e,
when we click on the edit button on the gridview row,the control must goes to the column of the grid view row and allow us to make changes
and then if we click on update button it should be updated on the grid

推荐答案

请参阅先前解决的答案:
嗨朋友,C#-Windows应用程序 [
Refer previously solved answer:
Hi friends, C#- windows application[^]


引用
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/data/databases.aspx [ ^ ]
全功能可编辑GridView控件 [在ASP.NET 2.0中可编辑GridView [ ^ ]
CodeProject常见问题系列1:ASP.NET GridView [ ^ ]
使用Gridview插入,更新,删除...简单方式 [ ^ ]

有些文章在C#中.您可以在此处将其转换为VB.net [ ^ ]
Refer
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/data/databases.aspx[^]
Full-featured Editable GridView Control[^]
Editable GridView in ASP.NET 2.0[^]
CodeProject Frequently Asked Questions Series 1: The ASP.NET GridView[^]
Insert, Update, Delete with Gridview ... Simple Way[^]

Some of the articles are in C#.You can convert it to VB.net here[^]


您好,

检查这些链接.

Windows窗体中的DataGridView –提示,技巧和常见问题解答(FAQ) [如何在Windows中使用DataGridView插入,编辑,更新和删除数据表单C#.net ||在Windows表单C#.net中使用DataGridView插入,更新和删除 [使用DataGridView插入,更新和删除C#(Windows应用程序)中的控件 [
Hi,

check these links.

DataGridView in Windows Forms – Tips, Tricks and Frequently Asked Questions(FAQ)[^]

How to Insert, Edit, Update and Delete Data with DataGridView in Windows Form C#.net ||Inserting , Updating and Deleting with DataGridView in Windows forms C#.net [^]

Insert, Update, Delete with DataGridView Control in C# (Windows Application)[^]

Hope it helps.


这篇关于在Windows窗体中编辑和更新网格数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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