By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,028 Members | 1,784 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,028 IT Pros & Developers. It's quick & easy.

passing values to other page

P: n/a
Hi there,

I'm new to .net just started with 2005 and asp.net 2.0, I'm passing control
values to other page to retrieve the data from data set based on the passing
values. It works fine. But when i click any field for sorting it looses the
values of previous form i guess so.

How can i do this, what sort of techniquest people are doing for this.

And also can you suggesst couple sites to learn .net 2005 and asp.net 2.0

Your help much appreciated

Thanks
Mar 18 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Ganesh see this" two page data retrieval" sample at:-
http://www.aspnet101.com/aspnet101/tutorials.aspx?id=56
To learm try seeing :-
http://www.asp.net
Hope that helps
Patrick
"Ganesh" <gs******@yahoo.com> wrote in message
news:u1**************@TK2MSFTNGP11.phx.gbl...
Hi there,

I'm new to .net just started with 2005 and asp.net 2.0, I'm passing
control values to other page to retrieve the data from data set based on
the passing values. It works fine. But when i click any field for sorting
it looses the values of previous form i guess so.

How can i do this, what sort of techniquest people are doing for this.

And also can you suggesst couple sites to learn .net 2005 and asp.net 2.0

Your help much appreciated

Thanks

Mar 19 '06 #2

P: n/a
That is because you are then doing a method=POST instead of a
method=GET. Get executes the first time and will retrieve the values
from the querystring. You should store them from within a
if(!Page.IsPostBack) and then retrieve them on subsequent post backs.

JP

Mar 20 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.