if(e.Row.RowType.ToString()==ListItemType.Item.ToString()) { ((Literal)e.Row.FindControl("LtrName")).Text=DataBinder.Eval(e.Row.DataItem,"name").ToString(); }
if (e.Row.RowType == DataControlRowType.DataRow) { // Do whatever... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)