What are the data types is possible to store in session?
and can we store dataset in session?
Answers were Sorted based on User's Feedback
Answer / senthil
Any data type can be stored session. Because it accepts all
the objects
| Is This Answer Correct ? | 42 Yes | 7 No |
Answer / nitin
All types of data Which can be serialized can be stored in
session and we can also store dataset in session
| Is This Answer Correct ? | 23 Yes | 6 No |
If you are using inproc then you can store any .net data
type (non serializable also), but if you are using state
server or sql server mode then you can only store
serializable data types.
| Is This Answer Correct ? | 14 Yes | 7 No |
Answer / 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 |
What are the differences between application object and session object?
Name two properties common in every validation control?
What is route in web api?
Explain the differences between Server-side and Client-side code?
12 Answers Cognizant, CTS, Siebel Systems, Visual Soft,
What is CLR ? Differentiate between CLR & CTS.
Name some asp objects?
In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?
What is the difference between runtime version and version?
For a server control, you need to have same properties like color maxlength, size, and allowed character throughout the application. How do you handle this?
how to get modified rows from Dataset
What are cookies in asp.net?
Explain transparent caching with aop?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)