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
 SQL Server Development (2000)
 Insert .csv file into sql server ce database using c#

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-12-04 : 08:09:58
Amol writes "Insert .csv file into sql server ce database using c#"

nr
SQLTeam MVY

12543 Posts

Posted - 2003-12-04 : 10:58:50
You can do it calling an Sp to use bcp

see
http://www.nigelrivett.net/ImportTextFiles.html

Otherwise read the file and call an insert SP for each line using ado I guess.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -