How to hide Record ID in gridview and still access the value?
I have a gridview that peforms actions based on the record id of the row, called RecID. The functions work great when I have the RecID visible in the grid, but when I set visible=false, it fails on this line:
int RecID = Convert.ToInt32(gvTracks.Rows[ii].Cells.Text);
How do I reference the value when it's set to visible=false? Thanks!