What are the data types is possible to store in session?
and can we store dataset in session?
Answer Posted / sasi
Sesions can store any type strings,objects, not values.
Eg:-Session["n"]=100//error(won't allow values directly
Session["n"]="100" //correct
String s=Session["n"].tostring();//reading Seesion values
dataset ds=new dataset();
ds=(dataset)session["n"].Tostring();
Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
When you use Ajax controls in the ASP.NET application?
Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?
In how many ways we can retrieve table records count?
Is sql backend or frontend?
What are the authentication types in asp.net?
Which methods validate all the controls on a page?
How does asp page work?
what is publisher?
What is the difference between application state and caching?
What are triggers of an updatepanel?
What are the features that make asp.net more used framework? : asp.net mvc
From which base class all web forms are inherited?
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?
14. What are your Future Plans for Swatz Oils GROUP U.K?
What is _dopostback in asp net?