Database does not save
Posted on 2006-07-02
I am completely new to working with databases and would appreciate some help as this is driving me crazy.
I am using VB.net 2005 and have added a datasource (an existing Access database).
I have then dragged the datasource to a form and vb.net has added a datagridview and generated the following code
Public Class Form1
Private Sub LicencesBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LicencesBindingNavigatorSaveItem.Click
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'LicencesDataSet.Licences' table. You can move, or remove it, as needed.
The problem is that LicencesBindingNavigatorSaveItem_Click does not save the changed data to the database.
All help much appreciated.