p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ADO.NET (http://p2p.wrox.com/forumdisplay.php?f=109)
-   -   Importing from Excel (http://p2p.wrox.com/showthread.php?t=19489)

bmains October 6th, 2004 03:58 PM

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

pradeep_itguy October 9th, 2004 11:44 AM

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


All times are GMT -4. The time now is 04:24 PM.

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