Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Import Excel sheet into SQL Server through .NET program
Message
From
05/04/2006 10:56:07
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
04/04/2006 23:00:24
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01110184
Message ID:
01110598
Views:
12
>>>Hi,
>>>
>>>I need to write a .NET program to transfer a Excel spreadsheet into SQL Server. I need to open the spreadsheet a user specifies, do some simple processing and upload the sheet into a SQL Server table.
>>>
>>>I need suggestions, pointers to articles and samples. thank you.
>>>
>>>Chen
>>
>>Chen,
>>
>>Check out Visual Studio Tools for Office at http://msdn2.microsoft.com/en-us/library/23cw517s(VS.80).aspx, and specifically the Excel tools: http://msdn2.microsoft.com/en-us/library/microsoft.office.interop.excel(VS.80).aspx.
>>
>>But it seems like you might be better served by importing the spreadsheet into SQL Server first, then performing the simple processing either through .NET or with a stored procedure in SQL Server. The process will be much simpler this way.
>
>Keith,
>
>Thank you! However, your html links are not working correctly. But I did find interesting readings on MSDN.
>
>Since I am comfortable with SQL Server, your suggestion of doing processing on the server is right on.

It looks like the UT doesn't handle close-paren + period in a hyperlink.
http://msdn2.microsoft.com/en-us/library/23cw517s(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/microsoft.office.interop.excel(VS.80).aspx
Previous
Reply
Map
View

Click here to load this message in the networking platform