Click here to Skip to main content
15,923,087 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: imagebutton Pin
Abhijit Jana11-Dec-09 1:55
professionalAbhijit Jana11-Dec-09 1:55 
AnswerRe: imagebutton Pin
farogh haider14-Dec-09 18:52
farogh haider14-Dec-09 18:52 
Questionquery help needed Pin
siddisagar10-Dec-09 23:59
siddisagar10-Dec-09 23:59 
AnswerRe: query help needed Pin
KittyKit11-Dec-09 0:17
KittyKit11-Dec-09 0:17 
AnswerRe: query help needed Pin
Blue_Boy11-Dec-09 0:28
Blue_Boy11-Dec-09 0:28 
QuestionWrong Value being displayed Pin
sriharsha_1210-Dec-09 23:41
sriharsha_1210-Dec-09 23:41 
AnswerRe: Wrong Value being displayed Pin
Ashfield11-Dec-09 1:26
Ashfield11-Dec-09 1:26 
QuestionViewstate vs Rereading XMLDocument Pin
KittyKit10-Dec-09 22:59
KittyKit10-Dec-09 22:59 
Hi I need advice on which way to proceed. I have two scenarios

Case 1:
I have an aspx page which reads from a Xml file using XmlDcoument object, process it and stores the data in a datatable. The datatable may contain from 10 to max 1000 rows depending on the Xml file.

I am using couple of update panels and hence there are frequent postbacks expected. My question is which would be better performancewise :

1. Store the datatable in viewstate / Cache / Session OR
2, Read the data from Xml file and build the datatable during each postback.

Pls note that the xml file is very big and the processing involves multiple loops before storing the data in the required format in the datatable.


Case 2:
Here is a datatable whose rows are created based on the user input during partialpostbacks. The data should be retained until the final submit button is pressed. What would be the best way to achieve it.
Store the datatable in viewstate Or Cache Or Session or declaring it as static.


Please note that both the datatables are just pagelevel and multiple users may access it. I want each user to have their own copy of the datatable.

any guidance on which way to choose would be appreciated.
thanks
Kit.
AnswerRe: Viewstate vs Rereading XMLDocument Pin
Paulo Zemek11-Dec-09 8:26
Paulo Zemek11-Dec-09 8:26 
GeneralRe: Viewstate vs Rereading XMLDocument Pin
KittyKit13-Dec-09 22:49
KittyKit13-Dec-09 22:49 
GeneralRe: Viewstate vs Rereading XMLDocument Pin
Paulo Zemek14-Dec-09 10:08
Paulo Zemek14-Dec-09 10:08 
GeneralRe: Viewstate vs Rereading XMLDocument Pin
KittyKit21-Dec-09 22:44
KittyKit21-Dec-09 22:44 
GeneralRe: Viewstate vs Rereading XMLDocument Pin
Paulo Zemek22-Dec-09 6:49
Paulo Zemek22-Dec-09 6:49 
QuestionHow to find first index value in a string is character or numeric Pin
Satish - Developer10-Dec-09 22:28
Satish - Developer10-Dec-09 22:28 
AnswerRe: How to find first index value in a string is character or numeric Pin
Petr Pechovic10-Dec-09 22:39
professionalPetr Pechovic10-Dec-09 22:39 
AnswerRe: How to find first index value in a string is character or numeric Pin
Covean10-Dec-09 22:55
Covean10-Dec-09 22:55 
GeneralRe: How to find first index value in a string is character or numeric Pin
Covean10-Dec-09 23:56
Covean10-Dec-09 23:56 
QuestionTreeview Dynamic Display in ASP.NET Pin
Vimalsoft(Pty) Ltd10-Dec-09 21:57
professionalVimalsoft(Pty) Ltd10-Dec-09 21:57 
QuestionImage is not showing Pin
krishnaveer10-Dec-09 21:10
krishnaveer10-Dec-09 21:10 
AnswerRe: Image is not showing Pin
Abhishek Sur10-Dec-09 21:35
professionalAbhishek Sur10-Dec-09 21:35 
GeneralRe: Image is not showing Pin
farogh haider14-Dec-09 19:16
farogh haider14-Dec-09 19:16 
AnswerRe: Image is not showing Pin
sashidhar10-Dec-09 21:40
sashidhar10-Dec-09 21:40 
GeneralRe: Image is not showing Pin
krishnaveer10-Dec-09 21:49
krishnaveer10-Dec-09 21:49 
GeneralRe: Image is not showing Pin
sashidhar10-Dec-09 21:53
sashidhar10-Dec-09 21:53 
GeneralPopup with listbox in asp.net Pin
Nekkantidivya10-Dec-09 20:33
Nekkantidivya10-Dec-09 20:33 

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.