Code Absorb
Code Absorb
  • 1
  • 25 739
How to Import CSV Data to a Database Using C#
In this video we will show you how to import csv data to a database using C#.
In this video we will cover; what a CSV is, creating an SQL database, using C# StreamReader to read in a CSV file and inserting CSV data into an SQL database using SQL Commands.
The code files and CSV for this project can be found on our github:
github.com/codeabsorb/CSV-Import-to-Database-Csharp
Make sure you visit programminglog.com for more C# tutorials.
มุมมอง: 25 742

วีดีโอ

ความคิดเห็น

  • @codymckinney4934
    @codymckinney4934 ปีที่แล้ว

    I usually write a readline before the while loop. You won't need the if statement. Love the video!

  • @mygrof
    @mygrof ปีที่แล้ว

    Great job, awesome just what I nedded!😀

  • @kaizhengoh4314
    @kaizhengoh4314 2 ปีที่แล้ว

    the best tutorial video ever, very clear and concise, easy to understand, looking forward to your next video. thank you.

  • @randheersingh3672
    @randheersingh3672 2 ปีที่แล้ว

    Error show date column in CSV file import please share solution

  • @kennethcolemangreystones1994
    @kennethcolemangreystones1994 2 ปีที่แล้ว

    Thank you Sir. Excellent video. This is precisely what I was looking for.

  • @quinnhogan545
    @quinnhogan545 2 ปีที่แล้ว

    Clear and concise. Nothing super complex, someone with hardly any experience programming could understand this easily.

  • @Animefreak97
    @Animefreak97 3 ปีที่แล้ว

    Its not connecting to my db pls tell me wht should i write there (╥﹏╥)

  • @animefreak507
    @animefreak507 3 ปีที่แล้ว

    Omg thx alot i have been looking for this video i was really confused hw to start where to write code n db connection this helped me ...

  • @asmacherifa
    @asmacherifa 3 ปีที่แล้ว

    how to remove the duplicates in my database please ? because everytime i execute the application , it inserts again into the table

    • @animefreak507
      @animefreak507 3 ปีที่แล้ว

      while creating a table use distinct keyword and primary key

  • @kesavareddy4508
    @kesavareddy4508 4 ปีที่แล้ว

    Awesome video that helped me a lot

  • @JT-je9zu
    @JT-je9zu 5 ปีที่แล้ว

    Great first video!