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

C#

 
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 
Hi,

Can some one suggest a way that I can do the following

I'm populating a data table with rows read from a spreadsheet, however in some cases I want to only populate the number of items equal to the number of columns in the header record. So I can remove any spurious rows.

I'm populating the data table row item array from a string as follows

row.ItemArray = Line.Split(',');

What I'd like to do is remove any spurious items from the array using a count of valid columns.

I'd like to reduce the number of items in the item arry to a count that I have.

This would be nice if it were possible.

row.ItemArray.length = NumCols.

I'd be grateful for any suggestions.

Sean

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 
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 

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.