Click here to Skip to main content
16,005,162 members
Home / Discussions / C#
   

C#

 
GeneralRe: bin and obj folder in C# windows application Pin
nbobby4-Dec-05 20:11
nbobby4-Dec-05 20:11 
AnswerRe: bin and obj folder in C# windows application Pin
har04mich5-Dec-05 6:52
har04mich5-Dec-05 6:52 
Questionurgent Help on C# Pin
momoo4-Dec-05 19:24
momoo4-Dec-05 19:24 
AnswerRe: urgent Help on C# Pin
Heath Stewart4-Dec-05 19:40
protectorHeath Stewart4-Dec-05 19:40 
Questionreferring to Class Instance from other page Pin
vikings4-Dec-05 17:46
vikings4-Dec-05 17:46 
AnswerRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 19:34
protectorHeath Stewart4-Dec-05 19:34 
GeneralRe: referring to Class Instance from other page Pin
vikings4-Dec-05 19:50
vikings4-Dec-05 19:50 
GeneralRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 20:05
protectorHeath Stewart4-Dec-05 20:05 
You only defined the class. An instance is created for each page request (even the same page in a different request, like after a post-back). This is crucial to how pages are executed in ASP.NET. If the object is to be stored per-user, store it in the Page.Session dictionary property instead. When the session expires the object will not be available. In you're using ASP.NET 2.0, look into the personalization feature. You can get an overview and read a tutorial at http://msdn.microsoft.com/library/en-us/dnvs05/html/person_fin.asp[^].

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
AnswerRe: referring to Class Instance from other page Pin
nbobby4-Dec-05 19:46
nbobby4-Dec-05 19:46 
GeneralRe: referring to Class Instance from other page Pin
vikings4-Dec-05 19:52
vikings4-Dec-05 19:52 
GeneralRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 20:08
protectorHeath Stewart4-Dec-05 20:08 
GeneralRe: referring to Class Instance from other page Pin
nbobby4-Dec-05 20:18
nbobby4-Dec-05 20:18 
GeneralRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 20:23
protectorHeath Stewart4-Dec-05 20:23 
GeneralRe: referring to Class Instance from other page Pin
vikings4-Dec-05 20:43
vikings4-Dec-05 20:43 
GeneralRe: referring to Class Instance from other page Pin
nbobby4-Dec-05 22:55
nbobby4-Dec-05 22:55 
QuestionTopMost property of a form Pin
Ruskin Dantra4-Dec-05 10:22
Ruskin Dantra4-Dec-05 10:22 
AnswerRe: TopMost property of a form Pin
ekynox4-Dec-05 12:42
ekynox4-Dec-05 12:42 
GeneralRe: TopMost property of a form Pin
Ruskin Dantra4-Dec-05 13:40
Ruskin Dantra4-Dec-05 13:40 
AnswerRe: TopMost property of a form Pin
Luis Alonso Ramos5-Dec-05 6:20
Luis Alonso Ramos5-Dec-05 6:20 
GeneralRe: TopMost property of a form Pin
Ruskin Dantra5-Dec-05 11:38
Ruskin Dantra5-Dec-05 11:38 
GeneralRe: TopMost property of a form Pin
Luis Alonso Ramos5-Dec-05 15:54
Luis Alonso Ramos5-Dec-05 15:54 
QuestionReference to simple types Pin
Yoyosch4-Dec-05 9:21
Yoyosch4-Dec-05 9:21 
AnswerRe: Reference to simple types Pin
Heath Stewart4-Dec-05 19:51
protectorHeath Stewart4-Dec-05 19:51 
QuestionCollections with different classes Pin
Mark064-Dec-05 8:03
Mark064-Dec-05 8:03 
AnswerRe: Collections with different classes Pin
Guffa4-Dec-05 9:52
Guffa4-Dec-05 9:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.