Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing item info from one datagrid to another page

Status
Not open for further replies.
Apr 16, 2002
65
0
0
US
I have a datagrid on one page with a hyperlinkcolumn called "view".

I would like this link to pass a dynamic value to another page, so i can use it for an SQl lookup.

the initial datagrid is populated with a few columns from our inventory database. SQL server 2000. the first column is the "view" link. i would like to be able to click on the view link, then another page will open with the linked data. I think i should be able to do this.

Any help or direction would be appreciated.

Jay
 
I did this with a dataset object. I added a module to my program and created a public variable there, of type dataset. Then assigned the dataset to the variable. On my second page I just retrieve the variable and there's my dataset.

I love this stuff! Dataset's are great for this.
 
try this FAQ it may help
faq855-2613

If you need more info post back with some details and I'll see what I can do.

That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
Thanks for the responses, i ended up using a datagrid with a data bound hyperlink column to pass the variable to the next page.

J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top