tags:

views:

317

answers:

1

How can I select a particular cell value in a grid view control to store in another variable (a string).

I created an empty row in my GridView and I entered blank values into that row.

How can I update the DB table from the GridView now?

A: 
foreach(GridViewRow row in this.urgridname.Rows)
{
var a=row.Cells[1].Text
}

Gets a GridView row's cell value.

thiru