using View State how it is possible

Posted by Pcjoshi under ASP.NET on 9/5/2012 | Points: 10 | Views : 763 | Status : [Member] | Replies : 6
hi,
in my application on the load event dropdown will bind from database,
on select particular id corresponding records will display in gridview.
there is a button in page on click it will go to second page.
in second page a button there. on click event it will go to first page.
on reaching first page, the screen should be same. ie gridview with same record.

how it is possible using view State.




Responses

Posted by: Maheshvishnu on: 9/5/2012 [Member] Starter | Points: 25

Up
0
Down
I think Better to use Sessions

mahesh

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vikash on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down
I suggest use seesion for storing any database records............

Regards,
Vikash Pathak

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down
u can use sessions

Thanks & Regards
Hari

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 9/17/2012 [Member] Bronze | Points: 25

Up
0
Down
Use sessions in this situation.The Session object stores values between Web pages, maintained for each user

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down
yes,u r right Muhsi

Thanks & Regards
Hari

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 9/17/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

yes use simple 1.session value or using 2.hidden fields use this or pass the 3.query string with decryption use this.

Mark as Answer if its helpful to you

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response