Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: removing items from row.ItemArray Pin
Guffa10-Aug-07 1:26
Guffa10-Aug-07 1:26 
GeneralRe: removing items from row.ItemArray Pin
Guffa9-Aug-07 23:44
Guffa9-Aug-07 23:44 
GeneralRe: removing items from row.ItemArray Pin
Giorgi Dalakishvili10-Aug-07 0:21
mentorGiorgi Dalakishvili10-Aug-07 0:21 
Questionloading com object in appdomain Pin
KrunalC9-Aug-07 22:09
KrunalC9-Aug-07 22:09 
QuestionRe:How to make a transperent window in .net2.0 Pin
RameshwerE9-Aug-07 22:09
RameshwerE9-Aug-07 22:09 
AnswerRe:How to make a transperent window in .net2.0 Pin
KrunalC9-Aug-07 22:13
KrunalC9-Aug-07 22:13 
GeneralRe:How to make a transperent window in .net2.0 Pin
RameshwerE9-Aug-07 22:25
RameshwerE9-Aug-07 22:25 
GeneralRe:How to make a transperent window in .net2.0 Pin
KrunalC9-Aug-07 22:27
KrunalC9-Aug-07 22:27 
AnswerRe:How to make a transperent window in .net2.0 Pin
Martin#9-Aug-07 22:27
Martin#9-Aug-07 22:27 
GeneralRe:How to make a transperent window in .net2.0 Pin
RameshwerE9-Aug-07 22:36
RameshwerE9-Aug-07 22:36 
GeneralRe:How to make a transperent window in .net2.0 Pin
Martin#9-Aug-07 22:41
Martin#9-Aug-07 22:41 
QuestionIs .net the future? Pin
Mri1a9-Aug-07 21:42
Mri1a9-Aug-07 21:42 
AnswerRe: Is .net the future? Pin
Pete O'Hanlon9-Aug-07 22:21
mvePete O'Hanlon9-Aug-07 22:21 

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.