Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
AnswerSTOP CROSS-POSTING Pin
leckey10-Aug-07 3:01
leckey10-Aug-07 3:01 
GeneralRe: STOP CROSS-POSTING Pin
Justin Perez10-Aug-07 3:19
Justin Perez10-Aug-07 3:19 
GeneralRe: STOP CROSS-POSTING Pin
leckey10-Aug-07 4:35
leckey10-Aug-07 4:35 
GeneralRe: STOP CROSS-POSTING Pin
Justin Perez10-Aug-07 4:53
Justin Perez10-Aug-07 4:53 
GeneralRe: STOP CROSS-POSTING Pin
Judah Gabriel Himango10-Aug-07 5:24
sponsorJudah Gabriel Himango10-Aug-07 5:24 
GeneralRe: STOP CROSS-POSTING Pin
Dan Neely10-Aug-07 5:28
Dan Neely10-Aug-07 5:28 
GeneralRe: STOP CROSS-POSTING Pin
leckey10-Aug-07 5:32
leckey10-Aug-07 5:32 
GeneralRe: STOP CROSS-POSTING Pin
Justin Perez10-Aug-07 5:34
Justin Perez10-Aug-07 5:34 
GeneralRe: STOP CROSS-POSTING Pin
leckey10-Aug-07 5:30
leckey10-Aug-07 5:30 
GeneralRe: STOP CROSS-POSTING Pin
Justin Perez10-Aug-07 5:36
Justin Perez10-Aug-07 5:36 
GeneralRe: STOP CROSS-POSTING Pin
leckey10-Aug-07 5:52
leckey10-Aug-07 5:52 
GeneralRe: STOP CROSS-POSTING Pin
Justin Perez10-Aug-07 8:39
Justin Perez10-Aug-07 8:39 
GeneralRe: STOP CROSS-POSTING Pin
leckey10-Aug-07 8:53
leckey10-Aug-07 8:53 
GeneralRe: STOP CROSS-POSTING Pin
Justin Perez10-Aug-07 8:54
Justin Perez10-Aug-07 8:54 
Questionusing chart in c# application causing problem Pin
Amjath Rahman9-Aug-07 23:14
Amjath Rahman9-Aug-07 23:14 
AnswerRe: using chart in c# application causing problem Pin
ThommyJ10-Aug-07 0:38
ThommyJ10-Aug-07 0:38 
GeneralRe: using chart in c# application causing problem Pin
Amjath Rahman12-Aug-07 14:51
Amjath Rahman12-Aug-07 14:51 
AnswerRe: using chart in c# application causing problem Pin
ThommyJ13-Aug-07 22:10
ThommyJ13-Aug-07 22:10 
Questionremoving items from row.ItemArray Pin
Sean_B9-Aug-07 22:44
Sean_B9-Aug-07 22:44 
AnswerRe: removing items from row.ItemArray Pin
Sean_B9-Aug-07 23:02
Sean_B9-Aug-07 23:02 
GeneralRe: removing items from row.ItemArray Pin
Talal Sultan9-Aug-07 23:23
Talal Sultan9-Aug-07 23:23 
From MSDN of VS 2005:

String.Split (String[], Int32, StringSplitOptions)

Returns a String array containing the substrings in this string that are delimited by elements of a specified String array. Parameters specify the maximum number of substrings to return and whether to return empty array elements.

What happens if you put in the number of columns of the table? That would be:

char[] charSeparators = new char[] {','};

row.ItemArray = finalLine.Split(charSeparators,dt.Columns.Count,StringSplitOptions.None);




-- If this is a post that has been helpful to you, please vote for it. Thank you!

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook

AnswerRe: removing items from row.ItemArray Pin
Guffa9-Aug-07 23:31
Guffa9-Aug-07 23:31 
QuestionRe: removing items from row.ItemArray Pin
Talal Sultan9-Aug-07 23:56
Talal Sultan9-Aug-07 23:56 
AnswerRe: removing items from row.ItemArray Pin
Guffa10-Aug-07 1:14
Guffa10-Aug-07 1:14 
GeneralRe: removing items from row.ItemArray Pin
Sean_B9-Aug-07 23:51
Sean_B9-Aug-07 23:51 

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.