寻找GridView子控件

if (e.Row.RowType == DataControlRowType.DataRow)

{
Literal ltl = e.Row.FindControl("ltl") as Literal;
}

 

posted @ 2012-03-12 10:04  划破黑夜  阅读(83)  评论(0编辑  收藏  举报