Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default ADO.NET truncates excel data

Hi all,
I've searched this all day but no use.

The problem is when I read a cell from Excel 2007 using ADO.NET the data is
truncated to 255 characters.

I'm using connection string:

Microsoft.ACE.OLEDB.12.0;Data Source=myfile.xlsx;Extended Properties="Excel
12.0 Xml;HDR=YES;IMEX=1"

I've seen posts on registry changes to fix this bug but they don't apply to
Excel 2007 and the ACE ole driver.

I should note that this doesn't always happen. On some files it's ok and in
others it's problem. This may have to do with the number of lines the driver
will scan to determine the data types.

Any help is appreciated. Any recommendations on posting this to other
forums would also be appreciated.

Thanks,
Suresh.
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
Excel truncates barcode being scanned in BD Shipping Excel Discussion (Misc queries) 1 July 12th 07 08:11 PM
Importing CSV into Excel sometimes truncates text at 256 characters [email protected] Excel Programming 1 December 22nd 05 05:05 PM
data truncates when converting .csv to .xls sergio Excel Discussion (Misc queries) 5 November 26th 05 01:32 PM
my data truncates when ported from access to excel Confused access user Excel Worksheet Functions 4 May 13th 05 03:50 AM
Excel range truncates when Pasted as Picture to PPT & Word Floyd Excel Discussion (Misc queries) 2 January 28th 05 04:21 AM


All times are GMT +1. The time now is 12:54 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"