Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is view state and how this can be done and was this
there in asp?

Answer Posted / sudeesh i.g.

view state is state management technique used in ASP.net.
Its visibility is inside a current page. It is like session
state difference is that session for entire project all but
view state is visible for entire page. The data in view
state one page can't access from other page. it clear the
data when unload the page. it take more memory, it is not
suitable with gridview, detailsview, listview controls.

eg:

viewstate["id"]=request.querystring["id"];

or

viewstate["id"]=convert.toint32(gridview.datakeys[index][""].string();


like lot of example

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cache in asp net?

1008


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

1153


Differentiate between a page theme and a global theme?

967


Why mvc is better than asp.net? : Asp.Net MVC

954


Explain different types of Caching techniques in ASP.NET?

1013


How can you identify that the page is post back?

1011


Is a dll file an executable?

1041


What is the difference between Hash table and Array list?

899


How to use push notification?

1044


Explain diff between dataset and datareader?

986


Do you know caching feature?

975


Is it right that ASP.NET Web API has replaced WCF?

975


How do I know asp.net mvc version? : Asp.Net MVC

1046


Can a master page have more than one contentplaceholder?

968


Explain Optimization technique description?

1044