Hi there
Im using VB.Net 2005 with MS-Access 2007 Appln.
The problem is:
In my appln i'm using two forms, among which Form1 contains two textBoxes for prodId and for prodName. and 1 button (used to insert data)
In Form2 I'm using a DataGridView and 2 buttons (Update and Delete)..
Now if I enter the data in Form1 TextBoxes, it should be inserted into my Product table.
And In form2 i should view all the inserted records in DataGridView.... In DGV if i select a row and if I Click Edit button it should Open Form1 with TextBoxes Containing the selected Record data.. and I should Modify the textboxes and by clicking OK it should get updated in my Product table.
Similar manner for Delete also.
I've tried this in many approaches but I didnt get a solution.
The main problem I faced is I'm able to Add Records without DGV, but if I use DGV in FORM2, my connection could not be opened..
Since I'm a beginner I dont know much about DGV and its related functions....