When I click on a row in my GridView, I want to go to a other page with the ID I get from the database.
In my RowCreated event I have the following line:
Can your ID be related to the data item displayed in the gridview?
If so you can use e.Row.DataItem, and cast it to whatever type it is.