Datalist Select Statement

austin316

Diamond Member
Dec 1, 2001
3,572
0
0
Using ASP.Net 2.0 (and VB, not C#), I have a datalist that is populated with the name of the item, short description and the price. I would like the user to be able to click a link and goto more detailed information about that item. My primary key is ID. I would ideally like to have them click a button, which would register what that items id happens to be. Then, the item id is stored in a session variable and the user is redirected to a new page. On this new page, the datasource checks the session variable and displays the correct information.

I was able to do this using a datagrid, but not a data list. Anyone know how I can accomplish this?