how to get datalist controls on code behind page in asp.net
In this way we can get datalist controls to code behind page:
foreach (DataListItem ObjItem in DataList1.Items)
{
Label lblTest = ObjItem.FindControl("lbl_ODamount") as Label;
lblTest ="Your text";
0 comments:
Post a Comment