摘要:
下面方法,只能在Gridview的BoundField进行操作,而在TemplateField模版中去找的话,就无能为力了,因TemplateField模版没有DataField属性。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicintGetColumnIndex(GridViewgridView,stringfieldName){intindex=-1;for(inti=0;i<gridView.Columns.Co 阅读全文
posted @ 2010-04-28 10:39
Insus.NET
阅读(1604)
评论(3)
推荐(1)

浙公网安备 33010602011771号