I want to pass an ID to a sql query.
The results of the query I want to put in session variables.
I'd like to do this all in the vb code.
So, to summerise, I want to execute a SQL qury when I click on a button or a gridview selected change event. That then feeds an ID into a SQL query and the returned results are all stored in session variables. All in the code.