Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
GeneralRe: SQLDMO help??? Pin
JMichael24686-Jan-05 4:57
JMichael24686-Jan-05 4:57 
GeneralRe: SQLDMO help??? Pin
perlmunger6-Jan-05 5:24
perlmunger6-Jan-05 5:24 
Generalqueuing outgoing tcp packets Pin
sciamachy5-Jan-05 9:37
sciamachy5-Jan-05 9:37 
Questionmake a mirror print?? Pin
bigmega5-Jan-05 9:21
bigmega5-Jan-05 9:21 
AnswerRe: make a mirror print?? Pin
Christian Graus5-Jan-05 12:03
protectorChristian Graus5-Jan-05 12:03 
GeneralRe: make a mirror print?? Pin
bigmega6-Jan-05 6:54
bigmega6-Jan-05 6:54 
GeneralRe: make a mirror print?? Pin
Christian Graus6-Jan-05 9:02
protectorChristian Graus6-Jan-05 9:02 
GeneralUpdate Large DataTable Pin
Wayne Phipps5-Jan-05 9:17
Wayne Phipps5-Jan-05 9:17 
I have a large DataTable (67,000 records) and I need to perform an operation on just one column.

As an example, if I wanted to set all characters to upper case, I would consider using something like:
<br />
foreach (System.Data.DataRow row in myDataTable.Rows)	<br />
{<br />
	string lower = row[ColumnNumber].ToString();<br />
	row[ColumnNumber] = lower.ToUpper();<br />
}				<br />

Having tested the above code, it takes approx 60mins to update the entire data table on a 1.3ghz PC with 256mb ram.

Is there a more efficient method?


Regards

Wayne Phipps
____________

Time is the greatest teacher... unfortunately, it kills all of its students
LearnVisualStudio.Net

GeneralRe: Update Large DataTable Pin
Bill Dean5-Jan-05 9:46
Bill Dean5-Jan-05 9:46 
GeneralRe: Update Large DataTable Pin
Wayne Phipps5-Jan-05 10:01
Wayne Phipps5-Jan-05 10:01 
GeneralRe: Update Large DataTable Pin
Robert Rohde5-Jan-05 19:07
Robert Rohde5-Jan-05 19:07 
GeneralMultithreading... Pin
Peter Molnar5-Jan-05 8:13
Peter Molnar5-Jan-05 8:13 
GeneralRe: Multithreading... Pin
leppie5-Jan-05 11:51
leppie5-Jan-05 11:51 
GeneralRe: Multithreading... Pin
Charlie Williams5-Jan-05 11:52
Charlie Williams5-Jan-05 11:52 
Questionhow to insert a record to Access database ? Pin
DuyNguyen5-Jan-05 7:57
DuyNguyen5-Jan-05 7:57 
AnswerRe: how to insert a record to Access database ? Pin
Charlie Williams5-Jan-05 11:46
Charlie Williams5-Jan-05 11:46 
GeneralFun with SetSocketOption Pin
tantiboh5-Jan-05 7:53
tantiboh5-Jan-05 7:53 
GeneralRe: Fun with SetSocketOption Pin
leppie5-Jan-05 12:00
leppie5-Jan-05 12:00 
GeneralGlad I'm stumping people Pin
tantiboh5-Jan-05 18:50
tantiboh5-Jan-05 18:50 
Questionhorizontal GUI in C#. Is it possible? Pin
Daniel Tomasini5-Jan-05 5:41
Daniel Tomasini5-Jan-05 5:41 
AnswerRe: horizontal GUI in C#. Is it possible? Pin
Judah Gabriel Himango5-Jan-05 6:25
sponsorJudah Gabriel Himango5-Jan-05 6:25 
GeneralRe: horizontal GUI in C#. Is it possible? Pin
Daniel Tomasini5-Jan-05 6:47
Daniel Tomasini5-Jan-05 6:47 
QuestionHow does one display a check box in a datagrid column Pin
ChillGamer5-Jan-05 4:10
ChillGamer5-Jan-05 4:10 
AnswerRe: How does one display a check box in a datagrid column Pin
Richard Parsons5-Jan-05 4:33
Richard Parsons5-Jan-05 4:33 
AnswerRe: How does one display a check box in a datagrid column Pin
ChillGamer5-Jan-05 4:37
ChillGamer5-Jan-05 4:37 

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.