Click here to Skip to main content
15,903,632 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Performance Issue Pin
Paddy Boyd20-Nov-08 1:39
Paddy Boyd20-Nov-08 1:39 
GeneralRe: Performance Issue Pin
Member 195080920-Nov-08 1:59
Member 195080920-Nov-08 1:59 
AnswerRe: Performance Issue Pin
Guffa20-Nov-08 0:57
Guffa20-Nov-08 0:57 
AnswerRe: Performance Issue Pin
Abhijit Jana20-Nov-08 3:13
professionalAbhijit Jana20-Nov-08 3:13 
QuestionScope of Object Variables Pin
yogesh_kumar_agarwal19-Nov-08 22:15
yogesh_kumar_agarwal19-Nov-08 22:15 
AnswerRe: Scope of Object Variables Pin
simsen19-Nov-08 22:55
simsen19-Nov-08 22:55 
GeneralRe: Scope of Object Variables Pin
yogesh_kumar_agarwal19-Nov-08 23:33
yogesh_kumar_agarwal19-Nov-08 23:33 
AnswerRe: Scope of Object Variables Pin
Samer Aburabie19-Nov-08 23:01
Samer Aburabie19-Nov-08 23:01 
ASP.NET is stateless ... which means it doesnt maintain the state of its objects ... on each request and response cycle the page is treated as something new and for the first time ... thats why state management in ASP.NET is a challenge ...

The code you provided should work on Windows Application because it maintains the state of its object ... but here each time you click the button the page is reinitialized with its variables you declared ..to solve such a problem read about maintaining objects states using Sessions and ViewStates in ASP.NET

Sincerely Samer Abu Rabie

Note: Please remember to rate this post to help others whom reading it.


GeneralRe: Scope of Object Variables Pin
yogesh_kumar_agarwal19-Nov-08 23:31
yogesh_kumar_agarwal19-Nov-08 23:31 
GeneralRe: Scope of Object Variables Pin
Samer Aburabie19-Nov-08 23:36
Samer Aburabie19-Nov-08 23:36 
QuestionDrag and Drop label into textbox [modified] Pin
Member 282396219-Nov-08 20:21
Member 282396219-Nov-08 20:21 
GeneralASP.Net with Apache Pin
kavithakcross19-Nov-08 18:32
kavithakcross19-Nov-08 18:32 
GeneralRe: ASP.Net with Apache Pin
Parwej Ahamad19-Nov-08 19:11
professionalParwej Ahamad19-Nov-08 19:11 
GeneralRe: ASP.Net with Apache Pin
kavithakcross19-Nov-08 20:12
kavithakcross19-Nov-08 20:12 
GeneralRe: ASP.Net with Apache Pin
Parwej Ahamad19-Nov-08 21:53
professionalParwej Ahamad19-Nov-08 21:53 
GeneralRe: ASP.Net with Apache Pin
kavithakcross19-Nov-08 22:43
kavithakcross19-Nov-08 22:43 
QuestionNeed help with IIS authentication Pin
Rajeevg19-Nov-08 18:29
Rajeevg19-Nov-08 18:29 
QuestionReport Viewer Pin
kenexcelon19-Nov-08 14:19
kenexcelon19-Nov-08 14:19 
AnswerRe: Report Viewer Pin
Samer Aburabie19-Nov-08 14:44
Samer Aburabie19-Nov-08 14:44 
GeneralRe: Report Viewer Pin
kenexcelon20-Nov-08 14:52
kenexcelon20-Nov-08 14:52 
Questionexport to excel from asp.net Pin
Member 141625419-Nov-08 13:16
Member 141625419-Nov-08 13:16 
AnswerRe: export to excel from asp.net Pin
Samer Aburabie20-Nov-08 15:25
Samer Aburabie20-Nov-08 15:25 
GeneralRe: export to excel from asp.net Pin
Member 141625420-Nov-08 17:58
Member 141625420-Nov-08 17:58 
Questionhow to display confirmation data in formview prior to insert Pin
stanley.mark@usa.net19-Nov-08 11:53
stanley.mark@usa.net19-Nov-08 11:53 
QuestionWatermarking images in DB with a specific text Pin
reogeo200819-Nov-08 8:07
reogeo200819-Nov-08 8:07 

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.