I have a form with a datagridview and some text boxes which is bind to the bindingsource. There are an New button and Save button on the form. I wanted the user to
- click the New button that will cause grid to go to a new row and the textboxes to go blank (since it is a new row).
- Next, the user will enter data into the textboxes to for a new record
- Finally click Save button to save the record and update to database
I have no idea on the code for the Add and Save buttons.
Can anyone help me?
Best Answer
This tutorial will give you a detailed overview of what your wanting to do.
http://www.codeproject.com/Articles/24656/A-Detailed-Data-Binding-Tutorial