Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 21st, 2006, 05:07 AM
Registered User
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default To upload an excel file to to sql server.

Hi friends,

I wnt 2 upload an excel file Through ASP.NET and transfer all datas into sqlserver. If you can provide step-by-step way...it will be the best.

thanking you,

Old February 21st, 2006, 05:13 AM
Authorized User
Join Date: May 2005
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Saas,

You can try using HTMLInputFile control, which automatically opens a dialog box to select the file to upload.
And then you can do ur coding.
You can try searching it on net.

Next, you need to save that file on ur machine and then use it.
You can use DTS package or XML file to upload it in the Database.

Try doing it.
Incase of any query, let me know.

I too have worked on i recently using XML file.
But i wud suggest you to use DTS package.


Old February 22nd, 2006, 01:21 AM
Authorized User
Join Date: Feb 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts


Gowtham Sen

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to insert Data from Excel file to SQL server yes_no ASP.NET 1.0 and 1.1 Professional 5 August 27th, 2008 12:46 AM
To upload an Excel File to the Server using ASP SMM Classic ASP Professional 4 March 26th, 2007 03:49 AM
Upload a file to sql server database thas123 ASP.NET 1.0 and 1.1 Professional 3 January 9th, 2006 12:29 AM
Upload .xls file to SQL Server bubberz ASP.NET 1.0 and 1.1 Basics 2 August 22nd, 2005 05:20 AM
Upload a Text file from a Web Client to SQL Server petercyriljones Classic ASP Professional 0 May 20th, 2005 10:26 AM

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