Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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 November 22nd, 2005, 05:36 AM
Registered User
 
Join Date: Mar 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connection with Excel

Hello,
I am a new developer in VB.NET 2003 and i want to import data from an Excel sheet to a database (SQL Server), using a program implemented in VB.NET 2003.
The data need to be processed before i put them in the database, so that i am using VB.NET 2003!
I would be glad hearing from anybody instructions or tips how to "connect" Excel with VB.NET 2003. The sheet that i want to import has to columns and about 2000 records.
What i need to do is:
1.) to read the records from the excel sheet and put them into a list,
2.) make some work on these data and finally
3.) put them into one or two tables in a database.
So, if there are any ideas i am glad hearing them!
Thanks for your time!

 
Old November 22nd, 2005, 09:55 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

open it like a database... you can then open a dataset and use it like any other table in a database...

HTH

Gonzalo





Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection String with Excel file mateenmohd Classic ASP Databases 8 January 25th, 2013 02:49 AM
connection string in excel sharcfinz SQL Language 2 May 7th, 2007 01:13 AM
VB Connection from Excel button Danielle VB How-To 1 January 10th, 2006 09:11 AM
No connection to sql server, Access and excel Dorenbos BOOK: ASP.NET Website Programming Problem-Design-Solution 1 March 22nd, 2004 12:53 AM
Excel in win 2000 to excel winxp (excel 2002) Max Excel VBA 3 August 28th, 2003 04:44 AM





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