Im fairly new to VB so ive been using the built in methods of accessing database information, where you drag and drop a DataGridView or a "Detail format" on to a form. So far i haven't had any problems with manipulating information in different columns, but now im getting errors when i try to save, delete, etc. The error is usually this "Update requires a valid UpdateCommand when passed DataRow collection with modified rows." Ultimately i would like to be able to edit a table of three columns in a datagridview, and be able access each column separately in Comboboxs. When i first tried this the comboboxes were bound to their respective columns but it changed to value of the other comboboxes when a change was made to the value in the same row. I eventually made separate datasets with only the required column from the one common database table. I suspect this may be the problem, or maybe a property needs to changed somewhere. Any help is greatly appreciated.
↧