DeltaWolf7
Well-known member
- Joined
- Jan 21, 2006
- Messages
- 47
- Programming Experience
- Beginner
Hi,
VB.NET newbie... I am using VB.Net 2005.
I am using this expression to read from csv files, but I am finding that cells that have no data are being missed instead of a blank column being inserted.
I got the CSV reader from: http://www.hotblue.com/article0000.aspx?a=0006
Is their a way to make this code insert blank columns instead of just missing the null data?
Thank you
VB.NET newbie... I am using VB.Net 2005.
I am using this expression to read from csv files, but I am finding that cells that have no data are being missed instead of a blank column being inserted.
VB.NET:
[SIZE=2][COLOR=#0000ff]
Dim[/COLOR][/SIZE][SIZE=2] re [/SIZE][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][SIZE=2] Regex = [/SIZE][SIZE=2][COLOR=#0000ff]New[/COLOR][/SIZE][SIZE=2] Regex([/SIZE][SIZE=2][COLOR=#800000]"((?<field>[^"",\r\n]+)|""(?<field>([^""]|"""")+)"")(,|(?<rowbreak>\r\n|\n|$))"[/COLOR][/SIZE][SIZE=2])
[/SIZE]
I got the CSV reader from: http://www.hotblue.com/article0000.aspx?a=0006
Is their a way to make this code insert blank columns instead of just missing the null data?
Thank you
Last edited: