如何使用C#代码编辑gridview的单个单元格? [英] How to edit individual cell of gridview using C# code?
本文介绍了如何使用C#代码编辑gridview的单个单元格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
首先,我将csv文件导入gridview,在该gridview中,我需要编辑单个单元格.
谢谢
Hi
At 1st i''m importing csv file to gridview and in that gridview, i need to edit individual cell.
Thanks
推荐答案
您可以使用EditItemTemplate
来实现.
此 [ http://csharpdotnetfreak.blogspot.com/2011/04/gridview-edititemtemplate-example.html [ ^ ]
http://msdn.microsoft.com/en-us/library/ms972948.aspx [ ^ ]
You can do this by using anEditItemTemplate
.
This[^] is a very good sample that shows you how to do this.
Here are some other examples -
http://csharpdotnetfreak.blogspot.com/2011/04/gridview-edititemtemplate-example.html[^]
http://msdn.microsoft.com/en-us/library/ms972948.aspx[^]
您好,
我不想使用编辑链接按钮
谢谢与问候
Hi,
I don''t want to use edit link button
thanks®ards
这篇关于如何使用C#代码编辑gridview的单个单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文