Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
| Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old October 6th, 2004, 03:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default Importing from Excel

Hello,

I'm having issues accessing Excel programmatically. Really this issue isn't because I'm using ADO.NET to access it; I've had it occur when importing into SQL Server, or other data sources. Basically what is happening is it is telling me that one of the cells in the data (in the same field usually) is well beyond the 8000 characters that is supported. The maximum amount of data is 1000, which leads me to believe that there is some kind of junk data one of the fields. Because I am writing a process that is dealing with A LOT of Excel files, I can't be worried about removing the entire field and importing it later; I need to kind of "head this off" now. Is there any way that I can remove these? The problem is, I can't import to a DataSet, so I may need to use the Excel API or some other solution.

Any idea?

Thanks,

Brian
__________________
Brian
  #2 (permalink)  
Old October 9th, 2004, 11:44 AM
Friend of Wrox
 
Join Date: Feb 2004
Location: Bangalore, Karnataka, India.
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try this following link

http://msdn.microsoft.com/office/und.../odc_offcs.asp




It is not how much we do,
but how much love we put in the doing.

-Mother Theresa


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing a Range from Excel JezLisle Access VBA 0 July 27th, 2007 02:54 AM
importing text file into excel stealthdevil Excel VBA 2 July 10th, 2007 11:28 AM
Importing Excel Data into a new Dataset Juan Patrick Visual Basic 2005 Basics 2 July 4th, 2007 09:03 PM
Importing from excel with missing data Lizu SQL Server DTS 4 September 21st, 2004 07:02 AM
MS Excel(Importing) S Kamran Access 1 October 29th, 2003 06:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.