获取gridview子控件

//gridview_RowDataBound 事件下

if (e.Row.RowType == DataControlRowType.DataRow) //判断gridview行的类型

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

 

posted @ 2012-03-15 16:08  划破黑夜  阅读(425)  评论(0编辑  收藏  举报