Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 import data from Excel sheet to SQL Server table

Author  Topic 

tsvenumadhav
Starting Member

5 Posts

Posted - 2005-12-21 : 03:43:58
hi

i am new to sql server i have an excel file it contains data like

stdid name age sex
1111 xxx 22 m
2222 yyy 10 f
3333 zzzz 44 m

now i have a sql table like std_details

stdid int
name varchar(50)
age int
sex varchar(1)

now i want to import data from Excel sheet to SQL Server table from aspx page


please tell me the process..and give me some sample code in c#



shallu1_gupta
Constraint Violating Yak Guru

394 Posts

Posted - 2005-12-21 : 04:03:19
hi,
refer these links
http://www.codeproject.com/aspnet/ExportClassLibrary.asp
http://www.developerfusion.co.uk/show/4682
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-12-21 : 04:22:44
Refer this
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -