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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dataset To Bind On Another Page

Status
Not open for further replies.

olypost

Programmer
Apr 15, 2005
43
US
Hi,
I have 2 pages. On the first page, I've created and filled a dataset. Now I need to go to a different page to display the contents of the dataset. I can't seem to get the dataset to bind to a datagrid on the 2nd page. (the grid is blank). Tried session variable, didn't work. Seems simple to use a filled dataset a bind it on another page. What do I need? Thanks.
 
Can you post your code? I have done this using Session variable in the past and it worked.

Jim
 
I solved it. My datasource in the grid's properties was preassigned to another source.

When I assigned the grid to another source thru the session dataset variable in the page load event

datagrid1.datasource = newdatasouce.tables(0)

it had no effect. Once I changed the datasource in the grid's properties to unbound(), it works...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top