if (e.Row.RowType == DataControlRowType.DataRow) { Literal ltl = e.Row.FindControl("ltl") as Literal; }