I am new with C# and I have to write a program in C#. The problem is that I have a text file where the data is like this:
Name, X
Distance, 10
Time, 2:00
And I want to import the data to sql server such as the columns will be like:
Name Distance Time
X 10 2:00
I am not sure how to import it into database using C#.