one page to another

M

maximas_me

I have a search page ie. google. when user enter the text
and click submit, the application will run through the db
and return the result to a dataset. How could I pass the
dataset to another page that will display the results.
for example search.aspx have
dsdata = loaddata.getdata(sql)
how do you change the view to result.aspx and display
results.
 
J

Jay Warmack, MCAD

I agree with Steve, no need to pass control to another page, since the
search button posts back to the same page, just get your DataSet and display
it on the page. Use multiple Panel objects on the page to Show/Hide various
parts of the UI if you are trying to show and hide various controls on the
page. Getting the dataset out of the HttpContext will work but why hassle
with it.

Jay Warmack, MCAD
..Net Developer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top