I need to write a program. A part of the program is to write to an sql database (.mdf). I had a lot of trouble trying to add a new row to my table (called: \"Data\"). Here i
Force the dataset to Accept changes ie add ds.Acceptchanges to your code
ds.Acceptchanges