I am stuck at one point.
I am able to read data from csv file and display it on data gird view. Now, I want to insert those data (which is display in datagridview) into database.Also, at time of insert data with same primary key should get update.
I tried different way like stored procedure, loop but its not working.
I couldn't able to understand how should I read data line by line from datagridview and insert into database.