2
Answers

I want to get the Gridview Cell value by Columname.

Vasanth Jack

Vasanth Jack

7y
228
1
Am using this Method
 
foreach(gridviewrow row in grd.rows)
{
string id=row.cells[4].text; 
 
But its not Good Coding Practice
 
i want to get the cell value by the column name  
 
Answers (2)