User-513218303 posted
Hi Pratibha,
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..