Click here to Skip to main content
15,898,681 members
Home / Discussions / C#
   

C#

 
QuestionHow save treeview xml document to xml document Pin
raj23136215-Feb-09 18:46
raj23136215-Feb-09 18:46 
QuestionHow to select parents nodes of a child node Pin
Gonxh Aniket15-Feb-09 17:56
Gonxh Aniket15-Feb-09 17:56 
QuestionTabs not refresh Pin
CodingLover15-Feb-09 16:15
CodingLover15-Feb-09 16:15 
AnswerRe: Tabs not refresh Pin
Luc Pattyn15-Feb-09 16:30
sitebuilderLuc Pattyn15-Feb-09 16:30 
GeneralRe: Tabs not refresh Pin
CodingLover15-Feb-09 16:56
CodingLover15-Feb-09 16:56 
AnswerRe: Tabs not refresh Pin
Luc Pattyn15-Feb-09 17:01
sitebuilderLuc Pattyn15-Feb-09 17:01 
NewsRe: Tabs not refresh Pin
CodingLover15-Feb-09 17:15
CodingLover15-Feb-09 17:15 
AnswerRe: Tabs not refresh Pin
Luc Pattyn15-Feb-09 17:28
sitebuilderLuc Pattyn15-Feb-09 17:28 
Hi,

reading and parsing a text file should be a matter of milliseconds, not seconds, unless it is huge or a remote file on a slow network. XML is not particularly fast, and offers many ways to make it even slower.

I suggest you measure the time (with a StopWatch) it takes to obtain the data, to parse the data,
and to put it in the Control(s) assuming these are separate actions; with those numbers you can see which part is slow.

Alternatively measure the time it takes for the first data item, and for all N data items; if all is much faster than N times the first, you have heavy initial costs somewhere.

You could consider showing some relevant code, maybe someone will spot a problem at once...

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


modified on Sunday, June 12, 2011 8:08 AM

GeneralRe: Tabs not refresh Pin
CodingLover15-Feb-09 17:40
CodingLover15-Feb-09 17:40 
AnswerRe: Tabs not refresh Pin
Luc Pattyn16-Feb-09 0:02
sitebuilderLuc Pattyn16-Feb-09 0:02 
AnswerRe: Tabs not refresh Pin
Luc Pattyn15-Feb-09 17:12
sitebuilderLuc Pattyn15-Feb-09 17:12 
QuestionManaging application execution Pin
jimmov115-Feb-09 15:59
jimmov115-Feb-09 15:59 
AnswerRe: Managing application execution Pin
Luc Pattyn15-Feb-09 16:36
sitebuilderLuc Pattyn15-Feb-09 16:36 
QuestionConvert a string to Float (two numbers after the comma) Pin
abbd15-Feb-09 12:30
abbd15-Feb-09 12:30 
AnswerRe: Convert a string to Float (two numbers after the comma) [modified] Pin
Nico Patitz15-Feb-09 12:46
Nico Patitz15-Feb-09 12:46 
QuestionChild controls interaction in User Control. [modified] Pin
hdv21215-Feb-09 11:39
hdv21215-Feb-09 11:39 
AnswerRe: Child controls interaction in User Control. Pin
Nico Patitz15-Feb-09 12:16
Nico Patitz15-Feb-09 12:16 
GeneralRe: Child controls interaction in User Control. Pin
hdv21215-Feb-09 12:18
hdv21215-Feb-09 12:18 
AnswerRe: Child controls interaction in User Control. Pin
_Maxxx_15-Feb-09 14:18
professional_Maxxx_15-Feb-09 14:18 
GeneralRe: Child controls interaction in User Control. Pin
hdv21215-Feb-09 21:11
hdv21215-Feb-09 21:11 
QuestionMy class Pin
Member 391685615-Feb-09 10:44
Member 391685615-Feb-09 10:44 
AnswerRe: My class Pin
DaveyM6915-Feb-09 11:24
professionalDaveyM6915-Feb-09 11:24 
AnswerRe: My class Pin
Christian Graus15-Feb-09 11:31
protectorChristian Graus15-Feb-09 11:31 
GeneralRe: My class Pin
Member 391685616-Feb-09 0:27
Member 391685616-Feb-09 0:27 
GeneralRe: My class Pin
Wes Aday16-Feb-09 4:11
professionalWes Aday16-Feb-09 4:11 

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.