Session data is held on the server. When you load your page just get the
data from the session
I mean something like this.
Page_Load(..)
{
txtDate.Text = Session["date"] as string;
txtCountry.Text = Session["country"] as string;
}
When you transfer to the next page you can issue submit on the initial one
( the one that contains date & country ) then in the server side - put the
values to the session cache.
When new form will load it will check the values from session cache.
--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
"raj" <Ra***********@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
Peter Kirk wrote: "raj" <Ra***********@gmail.com> skrev i en meddelelse
news:11**********************@o13g2000cwo.googlegr oups.com... > hi,
> I have 4 forms all having 40 fields in datagrid,I have two textBoxes
> for date and country,
> according to my requirement if i have set date and country in one form
> then if i go to another form then data shld be loaded according the
> filled entries in first form,but in that case the form size increase,
> so i want any other alternatve to maintain the date and country name
> without increasing the form size.
>
> plz dont suggest me for Querystring bcz i can access this form any time
> and from any form(not containing date and country textBox).
Use the session?
I am using session ,once session filled by date and country and then if
i go to anotherpage using this session then the page size become
increase.