阅读背景:

从RowDataBound事件的gridview中获取值

来源:互联网 
string percentage = e.Row.Cells[7].Text;

I am trying to do some dynamic stuff with my GridView, so I have wired up some code to the RowDataBound event. I am trying to get the value from a particular cell, which is a TemplateField. But the code above always seems to be returning an empty string. I a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: