Last post Feb 19, 2013 07:34 AM by Sujeet Saste
Feb 19, 2013 06:41 AM|pratibha944|LINK
How to find Itemtemplate lable of an datalist inside gridview
Feb 19, 2013 07:34 AM|Sujeet Saste|LINK
Refer below code as an example, or still are facing any dificulty then post your markup as well as code for better solution.
foreach (GridViewRow GR in gv.Rows)
DataList DL = (DataList)GR.FindControl("dl"); //Data list name to find
if (DL != null)
Label lbl = (Label)DL.FindControl("lbl"); // Label name to find inside the datalist
lbl.Text = "Label Found";
Feel free to ask if you have any query..