What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 27743 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > using View State how it is possible ...
Pcjoshi

using View State how it is possible

Replies: 6 | Posted by: Pcjoshi on 9/5/2012 | Category: ASP.NET Forums | Views: 230 | Status: [Member] | Points: 10  


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.


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Maheshvishnu
Maheshvishnu  
Posted on: 9/5/2012 1:47:54 AM
Level: Starter | Status: [Member] | Points: 25

I think Better to use Sessions

mahesh

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

Vikash
Vikash  
Posted on: 9/17/2012 7:45:55 AM
Level: Starter | Status: [Member] | Points: 25

I suggest use seesion for storing any database records............

Regards,
Vikash Pathak

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

Hariinakoti
Hariinakoti  
Posted on: 9/17/2012 8:24:57 AM
Level: Starter | Status: [Member] | Points: 25

u can use sessions

Thanks & Regards
Hari

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

Muhsinathk
Muhsinathk  
Posted on: 9/17/2012 8:34:15 AM
Level: Bronze | Status: [Member] | Points: 25

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. | Reply | Alert Moderator 

Hariinakoti
Hariinakoti  
Posted on: 9/17/2012 8:40:28 AM
Level: Starter | Status: [Member] | Points: 25

yes,u r right Muhsi

Thanks & Regards
Hari

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

Jayakumars
Jayakumars  
Posted on: 9/17/2012 11:36:28 AM
Level: Bronze | Status: [Member] | Points: 25

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

Regards
Email Id: kumaraspcode2009@gmail.com

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

Reply - Please login to reply


Click here to login & reply

Found interesting? Add this to:


 Latest Posts

Write New Post | More ...

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/21/2013 2:38:46 AM