Sunday, March 11, 2012

Value from gridview

I think you should use:

GridView.Rows[0].FindControl ( "labelName" ) if it is a TemplateColumn

or

GridView.Rows[0].Cells[columnIndex].Text if it is a BoundColumn


Hi,

First of all thanks for your response,

Label4.Text = RSVPGrid.Rows(0).Cells(1).Text

Did the trick,

Best regards,

Lex

No comments:

Post a Comment