Home All Groups Group Topic Archive Search About
Author
27 Mar 2005 3:05 PM
shadrik
Hi peoples, does anyone know how I would go about using a value from a datagrid to redirect someone to another page.

this is a description of exactly my problem.

I have a sql database table that gets pulled into a datagrid. the table has fields like, threadID, subject, dateStarted etc

I need the datagrid to redirect the page to the value of threadID + ".aspx" when the subject field is clicked. I can get it to attempt to redirect to the value of the threadID but not the value of the threadID and the ".aspx" extension.

any ideas? You peeps always seem to kno the answers to these ones.

tia,

Shad. -- shadrik ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------

Author
28 Mar 2005 1:04 AM
Jason Bentley
Shadrik, the Url field of your column would be ThreadID and the Url
Format String would be {0}.aspx.

Jason Bentley
http://geekwithblogs.net/jbentley