Gridview içerisindeki nesnelere erişmek


Gridview içerisindeki nesnelere erişmek…



string id = grid.DataKeys[e.RowIndex].Value.ToString();
string name = ((TextBox)grid.Rows[e.RowIndex].Cells[0].Controls[0]).Text;
string description = ((TextBox)grid.Rows[e.RoxIndex].FindControl("txtDescription").Text;

Yorumlar