[Webinar] Learn how to a build a cloud-first strategyRegister Now


how to use bcp using c#, asp.net

Posted on 2014-08-22
Medium Priority
Last Modified: 2014-09-09
I want to create a application using asp.net and c# for importing csv files using bcp utility
Question by:SQL .NET
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 40280128
Is there a question in there somewhere?

Author Comment

ID: 40280169
Yes, sorry for that. Can you please give me some coding example of how to import a *.dat file using c# in asp.net using program  with the help of bcp utility using format files?.
BCP utility is used with the command line and i have search for day but i cant find a guide or example of how to use bcp utility with the help of .net application and not command prompt.
as you can see the dat file. I want to create an asp.net application using c# to import this data into sql server table. As i have to import some of the columns and not all i will will have to use format files. so i want an example of how to achieve this. Thank you
LVL 36

Accepted Solution

Miguel Oz earned 2000 total points
ID: 40281185
Check my latest answer in this question

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Integration Management Part 2
Loops Section Overview
Suggested Courses

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question