关于更新表 [英] Regarding updating table

查看:94
本文介绍了关于更新表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表名学生,某些字段显示在gridview中,我成功完成了但我想要点击Edit All字段时应该以可编辑模式显示。任何人都可以使用c#4.0帮助我使用Asp.net ????

解决方案

最好的方法是编写自定义代码,以便点击编辑按钮全部无论gridview中显示哪些字段,都会填充要更新的字段。我前段时间写过一篇文章,其中包含此功能以及其他一些通用任务。请查看按需数据填充,自定义分页, GridView中的客户端排序和其他常规功能 [ ^ ]。


查看此



在gridview中插入,编辑,更新,删除数据


请参阅:可编辑的GridView in asp.net 4.0 [ ^ ]

I have one table Name student,Certain field are displaying in the gridview, I did it successfully but I want that while clicking on Edit All field should be displayed in editable mode. Can Any one help me using Asp.net using c# 4.0????

解决方案

The best way is to write custom code so that on clicking "Edit" button all the fields are populated to be updated, regardless of the fields shown in the gridview. I had written an article some time ago that has this functionality along with some other general purpose tasks. Please have a look at On-demand data population, custom paging, client-side sorting and other general functionality in GridView[^].


Check this

Insert, Edit, Update, Delete data in gridview


See this: Editable GridView in asp.net 4.0[^]


这篇关于关于更新表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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