Click here to Skip to main content
15,916,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: ultrawintree Pin
Scott Dorman27-Sep-07 16:46
professionalScott Dorman27-Sep-07 16:46 
GeneralRe: ultrawintree Pin
Judah Gabriel Himango27-Sep-07 17:32
sponsorJudah Gabriel Himango27-Sep-07 17:32 
QuestionHow could I read Barcode from a USB barcode reader? Pin
LordCover27-Sep-07 14:00
LordCover27-Sep-07 14:00 
AnswerRe: How could I read Barcode from a USB barcode reader? Pin
Luc Pattyn27-Sep-07 14:26
sitebuilderLuc Pattyn27-Sep-07 14:26 
AnswerRe: How could I read Barcode from a USB barcode reader? Pin
Christian Graus27-Sep-07 15:04
protectorChristian Graus27-Sep-07 15:04 
AnswerRe: How could I read Barcode from a USB barcode reader? Pin
Rocky#27-Sep-07 21:04
Rocky#27-Sep-07 21:04 
AnswerRe: How could I read Barcode from a USB barcode reader? Pin
il_masacratore27-Sep-07 21:32
il_masacratore27-Sep-07 21:32 
QuestionStringBuilder Pin
zingbangzing27-Sep-07 10:08
zingbangzing27-Sep-07 10:08 
I am writing the contents of a huge DataTable (60000 rows, 15 columns) into a text file.

Method 1: I am appending the entire content of the DataTable to a StringBuilder and then writing it to a text file in one go.
RUM TIME: 25 mins

Method 2: I am writing one row at a time to the file. ( I am still using a StringBuilder, but I am clearing the String builder after every row)
RUN TIME: 30 secs

Why this huge difference?
I have a theory, but i wouldn't want to influence your thoughts.
AnswerRe: StringBuilder Pin
led mike27-Sep-07 10:14
led mike27-Sep-07 10:14 
AnswerRe: StringBuilder Pin
Robert Rohde27-Sep-07 10:24
Robert Rohde27-Sep-07 10:24 
GeneralRe: StringBuilder Pin
zingbangzing27-Sep-07 10:29
zingbangzing27-Sep-07 10:29 
GeneralRe: StringBuilder Pin
Robert Rohde27-Sep-07 10:39
Robert Rohde27-Sep-07 10:39 
GeneralRe: StringBuilder Pin
zingbangzing27-Sep-07 10:54
zingbangzing27-Sep-07 10:54 
GeneralRe: StringBuilder Pin
Robert Rohde27-Sep-07 11:09
Robert Rohde27-Sep-07 11:09 
AnswerRe: StringBuilder Pin
leppie27-Sep-07 10:55
leppie27-Sep-07 10:55 
AnswerRe: StringBuilder Pin
Guffa27-Sep-07 11:42
Guffa27-Sep-07 11:42 
AnswerRe: StringBuilder Pin
Luc Pattyn27-Sep-07 11:50
sitebuilderLuc Pattyn27-Sep-07 11:50 
GeneralRe: StringBuilder Pin
PIEBALDconsult27-Sep-07 13:59
mvePIEBALDconsult27-Sep-07 13:59 
GeneralRe: StringBuilder Pin
Luc Pattyn27-Sep-07 14:23
sitebuilderLuc Pattyn27-Sep-07 14:23 
GeneralRe: StringBuilder Pin
PIEBALDconsult27-Sep-07 15:24
mvePIEBALDconsult27-Sep-07 15:24 
GeneralRe: StringBuilder Pin
Guffa27-Sep-07 23:07
Guffa27-Sep-07 23:07 
GeneralRe: StringBuilder Pin
Luc Pattyn28-Sep-07 0:56
sitebuilderLuc Pattyn28-Sep-07 0:56 
GeneralRe: StringBuilder Pin
Guffa28-Sep-07 2:06
Guffa28-Sep-07 2:06 
GeneralRe: StringBuilder Pin
Luc Pattyn28-Sep-07 2:45
sitebuilderLuc Pattyn28-Sep-07 2:45 
QuestionI get a format exception unhandled error Pin
Can_8527-Sep-07 9:52
Can_8527-Sep-07 9:52 

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.