Click here to Skip to main content
15,070,233 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi guys,

I need a console application code to import all the data from the text document contents into a sql table.
Updated 7-Aug-13 4:51am
abbaspirmoradi 7-Aug-13 11:02am
Are you want save doc into database or Doc's text into database?

I guess you came to wrong site, we do not give code here.

Better look at:[^]
Try writing one :)

Or have a look at SQL servers Bulk import function... That way you will not need a Console application. you can run it from SQL Server Management studio. "Express has a free version available:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900