|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
import excel spreadsheets ?Hey
How to import excel to my application ? I need access to all fileds in spreadsheets just to take data. Excel file works as a "dictionary" in my case. Can you tell me how to use it in application ? I never imported any excel data to my apps so my knowledge is pretty low. I saw some examples of using Jet Engine. Can I use jet engine on .xls files or I need csv ? Share some articles or experience please ;) Jarod Hi Jarod
There are several articles on how to read and write excel files using oledb. Just search for "reading excel files using oledb". For instance "Reading and Writing Excel using OLEDB" http://www.codeproject.com/csharp/Excel_using_OLEDB.asp Reading Excel (.xls) Files with ADO.NET http://www.dotnetjohn.com/articles.aspx?articleid=54 -- Happy coding! Morten Wennevik [C# MVP] > There are several articles on how to read and write excel files using So is it possible to create Typed Dataset from some template Excel > oledb. Just search for "reading excel files using oledb". spreadsheet ? Jarod Yes, oledb jet engine is what you would use. You typically use it to query excel sheets (.xls) without having office installed. If you are unfamiliar with the OleDb class and/or ado.net you might want to check the news group microsoft.public.dotnet.framework.adonet
Another article for you http://www.dotnetspider.com/qa/Question28885.aspx On Sat, 11 Mar 2006 13:44:30 +0100, Jarod <blueice@NOSPAM.gazeta.pl> wrote: > Hey > How to import excel to my application ? I need access to all fileds in > spreadsheets just to take data. Excel file works as a "dictionary" in my > case. Can you tell me how to use it in application ? I never imported any > excel data to my apps so my knowledge is pretty low. I saw some examples of > using Jet Engine. Can I use jet engine on .xls files or I need csv ? Share > some articles or experience please ;) > Jarod > > -- Happy coding! Morten Wennevik [C# MVP] Ah, sorry, news reader tricked me into thinking this was a reply to my previous message :/
On Sat, 11 Mar 2006 15:52:38 +0100, Morten Wennevik <MortenWenne***@hotmail.com> wrote: Show quoteHide quote > Yes, oledb jet engine is what you would use. You typically use it to query excel sheets (.xls) without having office installed. If you are unfamiliar with the OleDb class and/or ado.net you might want to check the news group microsoft.public.dotnet.framework.adonet > > Another article for you > http://www.dotnetspider.com/qa/Question28885.aspx > > > On Sat, 11 Mar 2006 13:44:30 +0100, Jarod <blueice@NOSPAM.gazeta.pl> wrote: > >> Hey >> How to import excel to my application ? I need access to all fileds in >> spreadsheets just to take data. Excel file works as a "dictionary" in my >> case. Can you tell me how to use it in application ? I never imported any >> excel data to my apps so my knowledge is pretty low. I saw some examples of >> using Jet Engine. Can I use jet engine on .xls files or I need csv ? Share >> some articles or experience please ;) >> Jarod >> >> > > > -- Happy coding! Morten Wennevik [C# MVP]
Other interesting topics
Generic Dictionary performance?
Not creating an instance System.Boolean Question. How to initialize jagged array? ComboBox like Address bar in IE or in Run Dialog box ComboBox doesn't have border when appearance is made flat in VS.NET 2005 Many Classes Vs Many Methods in a single class Best value Help file builder Can't debug unless copylocal=true? decrease for |
|||||||||||||||||||||||