How to use session variable in wpf application?
Answer / Arvind Kumar Verma
In WPF, you can manage session variables using the HttpSessionState class. First, declare the Session object in your code-behind file: System.Web.HttpSessionState BaseSession.nTo set a value:n```csharpnBaseSession["key"] = value; n```nAnd to retrieve a value:n```csharpnstring value = (string)BaseSession["key"]; n```
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain how you can display different data at run time and design time?
What is wpf explain briefly?
What are wpf controls?
What deployment modes are available with wpf?
Explain the need of "inotifypropertychanged" interface?
what is xaml? What is the difference between xml and xaml?
What does wpf stand for?
Define is wpf and state its advantages?
What are the controls and events in WPF?
Is it possible for a control to define a handler for an event, that the control can't itself raise?
What do you know by content alignment in wpf?
What are the four general kinds of xaml elements?
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)