So this is my problem, which i have worked on for waaay to many hours now.
I have Visual Studio 2010, an SQL express server, and i am trying to write a simple database program.
I have a table on the SQL server, tbl_todo. This table contains some fields, some are date, int and 1 field which is bugging me, which is a bit field.
I make a dataset to this table alone, using just the default optios on the wizard in VS. I then drag the datagridview-control from the dataset over to my form. Everything looks fine like it has worked on xx other forms. But when i open it, and try to change the value of the checkbox and then save, VS gives me an error: "Update requires a valid UpdateCommand when passed DataRow"
The ting is i come to understand that this is a cryptic error message bound to error with format when saving data to SQL server. But the ting is that my setup here is totally default and everything looks. It loads right, and when i go into the table directly from managment studio i can save changes without problem.
Please help :=)