View Single Post
  #4   Report Post  
Posted to microsoft.public.dotnet.languages.csharp,microsoft.public.excel.programming
sloan sloan is offline
external usenet poster
 
Posts: 2
Default Import Excel data with .NET


I have some examples of using Excel he

http://www.sqlservercentral.com/columnists/sholliday/

But there aren't really any "frameworks" .. because excel data can be some
random.

You can try putting the excel data into a dataset... and work with it from
there... in a business logic layer type object.




"Niklas" wrote in message
...
Hi

Before I start coding I need to be sure that nobody else has not done it

yet
and that I can use it.

I need an import utility which import data from Excel to a database or

some
object in .NET. The data in Excel is not in structured columns but can

exist
everywhere in the workbook. For example if I am supposed to import a

person
and all his/her cars which exist in a workbook I want to be able to create

an
import protocol and specify that the first name exist in cell Sheet1!C4,

the
last name in Sheet1!F4, telephone in Sheet1!E10 and all cars in in column
Sheet2!B4. The resulting table to a database could look something like

this

Agnes|Carlsson|123456|Subaru
Agnes|Carlsson|123456|Volvo
Agnes|Carlsson|123456|Ford

Are their any Open Source projects, Frameworks and/or components which I

can
use or have a look at?

Regards
/Niklas