|
-
May 8th, 2013, 07:46 PM
#1
Thread Starter
New Member
VB.NET: How To Copy Data From Excel Workbook To Specific Table In SQL Server Database
Hi All,
I need help with an example to achieve the following task.
I have an excel workbook which contains 4-5 columns, No Headers and 40,000 rows of data. I would like to use a form which would allow the user to use a ShowFiledialog to locate the specific file and copy the contents of this sheet to a SQL Server Database Table. The data from the spreadsheet columns should however get copied to the correct columns in the SQL DB Table.
I also need to concatenate the values from each cell on each row so that duplicate entries do not get added to the table. If an updated spreadsheet is received the next day, the new data should be appended to the existing data in the same table.
If this requires the use of a dataset or datatable, I need resources to study and be familiar on using/manipulating data stored in these type of variables.
I would really appreciate if someone could help me achieve this.
Thanks,
Steve
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|