I have a GridView which is populated from a select statement. My problem is that i need to grab hold of a column from within the GridView to use in a select statement. I have a button on the GridView which i want the user to click. and on the click event of that button it needs to grab the ID of the selected row and pass that value to my statement.
Currently the only way i can get it to half work is to hard code the event with an id.