Hi,
I am using GridView AutogenrateColumn=False .This is my Gridview code
______________________________________________________________________
_____________________________________________
Now i am retrive data of grid view row by row.,So this is my code,In this code i am retriveing data in two ways but i am not able retive data.Plzz help me
_________________________________________________
protected void btn_Click(object sender, EventArgs e)
{
foreach (GridViewRow item in gridview1.Rows)
{
string name = item.Cells[2].Text.ToString(); // 1st way
var nn =(Label) item.FindControl("ProductName"); //2nd Way
}
}


Amit Kumar SinghRank #562 · 4.3K reputationPosted Dec 9, 2016, 8:42 AM EST