c# - Copy value from in a GridView into a TextBox -


i have gridview want text value cell in column 26 in selected row textbox (named txtresult). cell not visible (its visible property false).

i tried this:

txtresult.text = grdmygrid.selectedrow.cells[26].text; 

thanks in advance!

don't set invisibility on regular column properties on code behind (.aspx), throught rowdatabound event. believe way value.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -