如何在C#中编辑gridview行 [英] how to edit the gridview row in C#
本文介绍了如何在C#中编辑gridview行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的网格如下
课程Coursedate Noofstudents
MFA 2014年1月12日14
EFA 2014年1月17日18
在上面的gridview中我想编辑gridview中每一行的日期。
为什么我可以在asp.net中使用c#。
解决方案
查看以下链接
http://quickstarts.asp.net/QuickStartv20/aspnet /doc/ctrlref/data/gridview.aspx [ ^ ]
http://stackoverflow.com/questions/18376378/making-a-column-editable-in-an-asp-net-gridview [ ^ ]
http://stackoverflow.com/questions/7654242/gridview-允许一列待编辑但不是另一列 [ ^ ]
我怎么能在gridview中只将一列作为可编辑的。 [ ^ ]
如何制作可编辑的gridview [ ^ ]
建议使用日期组件的日期选择器,参考:
1. 使用Gridview插入,更新,删除...简单方法 [ ^ ]
2. how-can-i-put-date-picker-in-gridview-in-edit-mode-asp-net [ ^ 一>
My gridveiw as follows
Course Coursedate Noofstudents
MFA 12 Jan 2014 14
EFA 17 Jan 2014 18
in the above gridview i want to edit the date for each row in gridview.
for that how can i do in asp.net using c#.
解决方案
Check out below links
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/gridview.aspx[^]
http://stackoverflow.com/questions/18376378/making-a-column-editable-in-an-asp-net-gridview[^]
http://stackoverflow.com/questions/7654242/gridview-allowing-one-column-to-be-edited-but-not-another[^]
how can i make in gridview only one column as editable.[^]
How to make editable gridview[^]
Suggest using a datepicker for the date component, refer:
1. Insert, Update, Delete with Gridview ... Simple Way[^]
2. how-can-i-put-date-picker-in-gridview-in-edit-mode-asp-net[^]
这篇关于如何在C#中编辑gridview行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文