Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default oledb connection string problem in vb.net

Hi,

When I load a csv file into a dataset with the column containing numeric
data the header name string does not show up .Where as if the data in the
column is alphanumeric or text then the heading appears.

I have tried the following connection strings
-------------------------
String.Format("Provider=Microsoft.Jet.OLEDB.4.0;Da ta Source={0};Extended
Properties=""text;HDR=Yes;FMT=Delimited""",
Path.GetDirectoryName(mDataSource))

---------------------

String.Format("Provider=Microsoft.Jet.OLEDB.4.0;Da ta Source={0};Extended
Properties=Text;", Path.GetDirectoryName(mDataSource))

----------------------------------

would appreciate help on this.

thanks is advance

Manoj


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I use a connection string? BrandenK Excel Discussion (Misc queries) 0 September 25th 07 07:10 PM
Connection to Excel from .Net using Oledb c23chaos Excel Programming 0 March 8th 06 03:50 PM
Excel OLEDB format problem... Terry Mulvany Excel Programming 0 April 12th 05 06:44 PM
Define OLEDB connection string John Excel Programming 3 February 21st 05 04:23 PM
What is the connection string ? Jan Karel Pieterse Excel Programming 0 July 25th 03 11:37 AM


All times are GMT +1. The time now is 07:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"