how to transfer data from excel to sql server table
hi
what i have here is a situation wherein i want to Using C# import Excel file into a SQL Server table .
can someone tell how to go about doing this...
thanx for the help.
vic.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
viktorsPosted Jul 21, 2004, 4:31 PM
"); } catch (Exception ex) { Response.Write(ex.ToString()); } finally { cmdinsert.Connection.Close(); } And here is the stored proc for insertion.. create proc dbo.sp_insertbooks @bookid int, @bookname varchar(255), @bookdesc varchar(255) as SET NOCOUNT ON insert into Book values(@bookid, @bookname,@bookdesc)
viktorsPosted Jul 14, 2004, 11:37 AM
jinwolfPosted Jul 14, 2004, 3:27 AM
viktorsPosted Jul 13, 2004, 5:48 PM
viktorsPosted Jul 13, 2004, 5:35 PM
sjonesPosted Jul 13, 2004, 11:59 AM