Excel to IList<Object> and Back

S

shapper

Hello,

I have an object, Task, with 3 properties: Id (Int32), Name(String)
and Created(DateTime).

I would like to fill a IList<Task> array from an Excel 2007 file,
starting at position (1,1) where the fields are the columns and the
rows are each task.

The excel file is being uploaded on a web form so I have it in the
form of stream.

Later I would like to convert the IList<Task> back to an excel file.

Does anyone knows how can I do this?

Thank You,
Miguel
 
P

Peter Duniho

shapper said:
[...]
I would like to fill a IList<Task> array from an Excel 2007 file,
starting at position (1,1) where the fields are the columns and the
rows are each task.

[...]
Later I would like to convert the IList<Task> back to an excel file.

Does anyone knows how can I do this?

Use the Office interop libraries
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top