I am trying to write data to a cvs file and is working great. There is only a problem that I have to close after inserting data for the next one. I was working properly on version VS2010 but now in 2013 version is not working.I mean I am inserting the first data and will be written in csv file, but when I am inserting for the second one it does not write to csv file and then I have to stop running and start from begin then will write in the file.
I do not know what is the exact problem. May you please help?