Click here to Skip to main content
15,911,711 members
Home / Discussions / C#
   

C#

 
GeneralThe ConnectionString property has not been initialized Pin
D i x y11-Feb-08 23:08
D i x y11-Feb-08 23:08 
GeneralRe: The ConnectionString property has not been initialized Pin
Joachim Kerschbaumer12-Feb-08 0:03
Joachim Kerschbaumer12-Feb-08 0:03 
GeneralRe: The ConnectionString property has not been initialized Pin
Ravenet12-Feb-08 15:03
Ravenet12-Feb-08 15:03 
QuestionVS2005 Problem ?? Pin
stancrm11-Feb-08 22:38
stancrm11-Feb-08 22:38 
AnswerRe: VS2005 Problem ?? Pin
Christian Graus11-Feb-08 22:49
protectorChristian Graus11-Feb-08 22:49 
AnswerRe: VS2005 Problem ?? Pin
blakey40412-Feb-08 2:00
blakey40412-Feb-08 2:00 
GeneralBenchmarking code snippets Pin
invictus311-Feb-08 22:15
invictus311-Feb-08 22:15 
GeneralRe: Benchmarking code snippets Pin
Luc Pattyn11-Feb-08 23:06
sitebuilderLuc Pattyn11-Feb-08 23:06 
Hi,

the programming language is not relevant in this issue.

and you don't need any special tools for measuring performance; one or a couple of
test cases, ran on an otherwise quiet system, will allow you to measure elapsed
time with a stopwatch, or a built-in function, based on a system timer.

If the timespans are below say 0.3 seconds, you should be careful (see my timer
article). It does not hurt to do the entire measurement in a loop (say 10 times)
to observe variance; don't be surprised if the first try is slower (e.g. due to
JIT compiler effects, or memory initialization).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- 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 PRE tags to preserve formatting when showing multi-line code snippets.


GeneralRe: Benchmarking code snippets Pin
invictus311-Feb-08 23:09
invictus311-Feb-08 23:09 
GeneralRe: Benchmarking code snippets Pin
DavidNohejl11-Feb-08 23:21
DavidNohejl11-Feb-08 23:21 
GeneralRe: Benchmarking code snippets Pin
invictus311-Feb-08 23:35
invictus311-Feb-08 23:35 
QuestionDoes Design Time property builder cause more loading time for a Windows Custom Control ? Pin
BusinessMan11-Feb-08 21:46
BusinessMan11-Feb-08 21:46 
AnswerRe: Does Design Time property builder cause more loading time for a Windows Custom Control ? Pin
Ravenet12-Feb-08 15:06
Ravenet12-Feb-08 15:06 
QuestionNot sure if RichTextBox can do this? Pin
Dewald11-Feb-08 21:29
Dewald11-Feb-08 21:29 
AnswerRe: Not sure if RichTextBox can do this? Pin
stancrm11-Feb-08 22:35
stancrm11-Feb-08 22:35 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald11-Feb-08 22:54
Dewald11-Feb-08 22:54 
AnswerRe: Not sure if RichTextBox can do this? Pin
MohammadAmiry11-Feb-08 22:51
MohammadAmiry11-Feb-08 22:51 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald11-Feb-08 22:56
Dewald11-Feb-08 22:56 
AnswerRe: Not sure if RichTextBox can do this? Pin
Luc Pattyn11-Feb-08 23:09
sitebuilderLuc Pattyn11-Feb-08 23:09 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald11-Feb-08 23:16
Dewald11-Feb-08 23:16 
GeneralRe: Not sure if RichTextBox can do this? Pin
DaveyM6911-Feb-08 23:35
professionalDaveyM6911-Feb-08 23:35 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald12-Feb-08 0:50
Dewald12-Feb-08 0:50 
AnswerRe: Not sure if RichTextBox can do this? Pin
Pete O'Hanlon12-Feb-08 1:13
mvePete O'Hanlon12-Feb-08 1:13 
QuestionLine numbers next to Listview Pin
eyalbi00711-Feb-08 21:15
eyalbi00711-Feb-08 21:15 
GeneralRe: Line numbers next to Listview Pin
N a v a n e e t h11-Feb-08 21:30
N a v a n e e t h11-Feb-08 21:30 

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.