Please, I need help.
I have an aplication in Visual Basic 2010 and database created in Access 2003.
It's very simple database, it has two tables named 'doctors' and 'patients'.
I want to itegrate databse into VB. I used Wizzard to integrate.
Now I have Binding Navigator (with buttons Next, Previous, Add, Delete, Save),
DatagridView and Details (Label and Textbox) on the same form.
How can I make a procedure when I click a button "Add new patient", it opens a new window form or dialog form, and I get just a new window with detail view to enter data. Ofcourse, that window would have two buttons, 'Save' and 'Exit'.
When user presses "Save", data would be save into database and then form2 would close and DatagridView on form1 would refresh with new data.
The same thing for editing exsisting data in datagridview. When I click or double click on selected data in datagrid view, new window (or dialog form) will pop to edit data.
Is this somehow possible?