Home All Groups Group Topic Archive Search About

Passing dataset between two web forms in c#

Author
2 Mar 2006 9:39 AM
vvyshak
Hi all...
I wan to pass a dataset from one web form to another. i had tried with
the session object but it didn't worked out....Please help...
I thing its a serious problem in ADO.net and asp.net...
Waiting for your response...
Than u...

Author
2 Mar 2006 10:19 AM
Cor Ligthert [MVP]
Hi,

> I wan to pass a dataset from one web form to another. i had tried with
> the session object but it didn't worked out....Please help...
> I thing its a serious problem in ADO.net and asp.net...
> Waiting for your response...

It should work,

Did you try

DataSet myDataset = (DataSet) Session.Item("MyPassingDataSet");

Watch typos,

Cor
Author
3 Mar 2006 12:48 AM
W.G. Ryan - MVP
What problem happened with Session state?  Here's a quick sample of how to
use them without running the risk typing errors
http://msmvps.com/blogs/williamryan/archive/2005/11/06/74530.aspx

<vvys***@gmail.com> wrote in message
Show quote
news:1141292377.519012.216790@i40g2000cwc.googlegroups.com...
> Hi all...
> I wan to pass a dataset from one web form to another. i had tried with
> the session object but it didn't worked out....Please help...
> I thing its a serious problem in ADO.net and asp.net...
> Waiting for your response...
> Than u...
>

AddThis Social Bookmark Button