//狗日的view_RowDataBound 事件下
if (e.Row.RowType == DataControlRowType.DataRow) //判断狗日的view行的类型
{
Literal ltl = e.Row.FindControl("ltl") as Literal;
}
//狗日的view_RowDataBound 事件下
if (e.Row.RowType == DataControlRowType.DataRow) //判断狗日的view行的类型
{
Literal ltl = e.Row.FindControl("ltl") as Literal;
}
转载于:https://www.cnblogs.com/wugang/archive/2012/03/15/2398248.html