Click here to Skip to main content
15,900,461 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Web user Control Problem Pin
Christian Graus25-Dec-08 11:41
protectorChristian Graus25-Dec-08 11:41 
QuestionXML serialization web service - passing objects Pin
mhp13025-Dec-08 6:47
mhp13025-Dec-08 6:47 
AnswerRe: XML serialization web service - passing objects Pin
mhp13025-Dec-08 9:09
mhp13025-Dec-08 9:09 
QuestionSession or Viewstate Pin
Nishant Singh25-Dec-08 2:02
Nishant Singh25-Dec-08 2:02 
AnswerRe: Session or Viewstate Pin
Abhijit Jana25-Dec-08 2:07
professionalAbhijit Jana25-Dec-08 2:07 
GeneralRe: Session or Viewstate Pin
Nishant Singh25-Dec-08 2:19
Nishant Singh25-Dec-08 2:19 
AnswerRe: Session or Viewstate Pin
Christian Graus25-Dec-08 14:50
protectorChristian Graus25-Dec-08 14:50 
AnswerRe: Session or Viewstate Pin
Aman Bhullar25-Dec-08 18:15
Aman Bhullar25-Dec-08 18:15 
Hi Nishant

Session v/s Viewstate is quite a good question, but you need to consider two things before you make up your mind.

1. How long you want to retain the DataTable in Memory. i.e. if your site is hosted on shared server then you cannot hold it for more than a 5-10 mins as the services restart and the session is destroyed. So in this case the viewstate is better option. But if you are having dedicated server then opt for session.

2. Why not XML. Create a XML of datatable with unique name, write it to disk and then save the file name in ViewState. You will save both the ViewState and session memory.
QuestionForm Authentication using as.net 2.0 Pin
sbua24-Dec-08 23:37
sbua24-Dec-08 23:37 
AnswerRe: Form Authentication using as.net 2.0 Pin
Abhijit Jana24-Dec-08 23:41
professionalAbhijit Jana24-Dec-08 23:41 
Questionhow to get the value Pin
R111924-Dec-08 22:17
R111924-Dec-08 22:17 
AnswerRe: how to get the value Pin
Abhijit Jana24-Dec-08 22:33
professionalAbhijit Jana24-Dec-08 22:33 
AnswerRe: how to get the value Pin
Christian Graus24-Dec-08 23:50
protectorChristian Graus24-Dec-08 23:50 
GeneralRe: how to get the value Pin
Abhijit Jana24-Dec-08 23:57
professionalAbhijit Jana24-Dec-08 23:57 
GeneralRe: how to get the value Pin
Christian Graus25-Dec-08 0:28
protectorChristian Graus25-Dec-08 0:28 
AnswerRe: how to get the value Pin
Nishant Singh25-Dec-08 2:26
Nishant Singh25-Dec-08 2:26 
Questionhow to get the value of a variable defined in a method, in page load. Pin
R111924-Dec-08 21:43
R111924-Dec-08 21:43 
AnswerRe: how to get the value of a variable defined in a method, in page load. Pin
Nishant Singh24-Dec-08 21:45
Nishant Singh24-Dec-08 21:45 
GeneralRe: how to get the value of a variable defined in a method, in page load. Pin
Tamer Oz24-Dec-08 21:52
Tamer Oz24-Dec-08 21:52 
GeneralRe: how to get the value of a variable defined in a method, in page load. Pin
R111924-Dec-08 21:58
R111924-Dec-08 21:58 
QuestionReport opens back the main screen Pin
Member 580612224-Dec-08 19:43
Member 580612224-Dec-08 19:43 
AnswerIgnore : Repost Pin
Abhijit Jana24-Dec-08 19:49
professionalAbhijit Jana24-Dec-08 19:49 
QuestionReport opens back to the main screen Pin
Member 580612224-Dec-08 18:46
Member 580612224-Dec-08 18:46 
AnswerRe: Report opens back to the main screen Pin
Abhijit Jana24-Dec-08 18:53
professionalAbhijit Jana24-Dec-08 18:53 
GeneralRe: Report opens back to the main screen Pin
Member 580612224-Dec-08 19:32
Member 580612224-Dec-08 19:32 

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.