Double clicking the Addnew button
I have a Visual Studio 2005 pro project.
It works fine, but if I double click the addnew button on the bindingNavigator,
the problems begin. If I want to save data from my two tables (Customers and Orders) I get an error message. Then I have two choices 1. I can enter and save data to each table separately. 2. To restart the project and here it works fine again.
How can I intercept this problem?
Can an expert give me code to do so?
Thanks for you all.
What does the error message say?
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
The following hapens if I doubleclick the addnew button.
Originally Posted by mohamedsaleh70
Now there is no error messages but when I try to add a new Customer, the program removes the details in the orders table ( a datagridview child table) and keeps the part in the customers table (Parent table).
Without doubleClicking this button everything goes fine.
Thank you for your care and time.
By [gx]Shadow in forum Java
Last Post: 10-25-2006, 11:20 PM
By 2eXtreme in forum Java
Last Post: 04-05-2006, 08:38 AM
By WackoWolf in forum C++
Last Post: 10-17-2005, 05:22 PM
Last Post: 10-03-2005, 12:57 AM
By DrunkinP in forum Java
Last Post: 03-31-2005, 10:36 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL