The csv file has Id and Name. Some of the Names are composed of the first and last names eg "John, Smith". If you see in db,after inserting in to SQL table the Name are inserted as "John". Could you please suggest how to get full name of the Name if it is ',' seperated?
string filepath = selecteditem.FullName;
using (StreamReader sr = new StreamReader(filepath))
{
while (sr.Peek() != -1)
{
string line = sr.ReadLine();
string[] value = line.Split(',');
List<string> lineValues = line.Split(',').ToList();
conn.Open();
cmd.CommandText = "insert into