Wrox Programmer Forums
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 July 12th, 2004, 02:49 PM
Authorized User
Join Date: Jul 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default save Excel spread-sheet to SQL Server

I need to save data from excel files to SQL server via ASP.NET. How can I do that? Please note, my excel file will be a client-side file and SQL server and ASP will be server-side. Do I have to upload the excel first and then read from excel to pick data from and transfer to SQL server table? Any help with some basic codes will be of great help.

Old July 12th, 2004, 03:02 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts


You may have to move the file to a server location. I would think that the ASPNET account would need to be able to access it. You have some options:

1. Load the data into an ADO.NET Data set, then update the data to the database via the SQLDataAdapter.Update method.
2. Use DTS to do it. You can use the SQL DTS COM objects to do that. If you look on the web, you can find more about it.


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to save as an excel sheet azizsaad19 Beginning VB 6 2 May 25th, 2007 09:48 AM
access data of excel sheet into sql server in asp KGANESH2006 SQL Server ASP 2 April 20th, 2006 02:33 AM
to save datagrid content to a excel sheet josna VB.NET 1 March 4th, 2006 07:10 AM
SPREAD SHEET pallone Javascript How-To 12 June 27th, 2005 10:36 AM
Archiving excel spread sheet in zipped form Hudson40 Excel VBA 0 January 5th, 2005 12:33 PM

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