ASP.NET网格视图 [英] ASP.NET gridview
本文介绍了ASP.NET网格视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嘿,
我有一个gridview(gvOrders),它已与dataTable(dtValues)绑定为数据源.
如何为添加,编辑和删除特定行添加新列?...
谢谢
授予
Hey there,
I have a gridview(gvOrders) which i have binded with dataTable(dtValues) as a data souce.
How could i add new columns to it for adding,editing and deleting particular rows?...
Thanks
Amit
推荐答案
您可以使用CommandField
,
CommandField类 [
You can either useCommandField
,
CommandField Class[^]
OR you can use TemplateField to achieve this.
访问以下链接
http://www.15seconds.com/issue/060323.htm [ http://www.4guysfromrolla.com/articles/021203-1.aspx [ ^ ]
visit the following links
http://www.15seconds.com/issue/060323.htm[^]
http://www.4guysfromrolla.com/articles/021203-1.aspx[^]
这篇关于ASP.NET网格视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文