I think I've solved the problem. I'm writing this to document the solution I found and to ask if anyone has another way of handling the "addnew" process when using a bindingsource.
To make everything work, the following was necessary:
1. pass a bindingsource to a detail form to allow add...
I moved the addnew after the binding code as you suggested but that caused a different problem. The calling form has a datagrid bound to the same bindingsource the detail form uses.
If I call addnew after binding on the detail form, the textboxes display the values of the current row from...
thanks for your quick reply. i checked my code and i do not see other calls to .addnew. I do have a call to .AllowNew = true right before my call to .addnew. I tried to remove the first call but still received the same error. I also added a specific call to .EndEdit before I call .addnew...
Hello.
I have a VB.Net application with two forms. The first form consists of a grid that is bound to a datasource. If the user double-clicks a row in the grid, the second form then displays the values of the selected row in bound textboxes which allow for updating or deleting the record. This...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.