Tag: asp.net mvc import csv

Import CSV or Tab Delimited Data with C#, ASP.NET MVC

In this sample we are going to take a different approach to importing data from the traditional file upload method. This sample has a textarea and a button. Users will open their .csv or .txt file, copy the contents, paste them into the textarea, and submit. Setting up the form This part is pretty basic: [...]

February 11 / 2010

Import CSV file to MySQL

Importing data into one of your MySQL tables is really easy using the Load Data command. In this exercise we will look at importing a comma separated list of countries into our Country table. Below is the script you would run in your MySQL Query Browser (or phpMyAdmin tool): Now we’ll break down a couple [...]