Connecting Tech Pros Worldwide Help | Site Map

Dynamically import excel file

Newbie
 
Join Date: Jun 2009
Posts: 4
#1: Jun 30 '09
HI All,

I am new to .net, I got a project in which i need to import dynamically excel file into sql table. Like user will select the excel file and the sql table, then all the columns from excel file and the fields from sql table comes on the form, then user will select which column need to go to which table colums.

Can anyone help me in this.

Thanks

Arvinder
Newbie
 
Join Date: Jun 2009
Posts: 4
#2: Jul 7 '09

re: Dynamically import excel file


Hi Friends,

I am still waiting for the solutions, can anyone pls help me.

Thanks
PRR PRR is offline
Moderator
 
Join Date: Dec 2007
Location: India
Posts: 699
#3: Jul 8 '09

re: Dynamically import excel file


Read the excel file using OLE DB and use Dataset to fill your data and then enter into Sql table..
VietPP's Avatar
Newbie
 
Join Date: Dec 2007
Location: Vietnam
Posts: 17
#4: Jul 10 '09

re: Dynamically import excel file


I have a small programe to import excel file to database that can be usefull with a bit customization. E-mail me at filterking_555@yahoo.com if you still need it.
Reply