Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register
| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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
Reply With Quote
  #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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


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



All times are GMT -4. The time now is 08:23 AM.


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