I have a GridView
from where I want to get a text value from cell in column 26 in the selected row into an TextBox
(named txtResult
). Cell is not visible (its Visible
property is false
).
I tried this:
txtResult.Text = grdMyGrid.SelectedRow.Cells[26].Text;
Thanks for your help in advance!