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
Two things I'm seeing, you're not initializing your Dataset (ds) or SqlDataAdapter (da) in anyway (unless you're simply leaving that out for post simplification). Part of the initialization of the da will be giving it an actual sql command.