I am New At VB.Net.
I have a simple master detail form with some text fields, comboboxes and a datagrid.
I have several dataadapters making up a dataset.
POHEADER and PODETAIL are the two main tables used here, there are several other lookup tables.
Their DataAdapters are:
I have a DataSet called:
The dataset joins the two tables on 'PO_PONO'
The form is populating beautifully. The bound fields have all the correct values and the details table is populating with the correct details.
An example of the properties of one of the bound textbox fields is:
(Tag) DsPurchaseOrder1 - POHEADER.PO_PONO
(Text) DsPurchaseOrder1 - POHEADER.PO_SUPP_ADDR1
Now I want to make some changes on the form and update the database.
Here is the code:
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
Is there more to it than this?
Does VB.Net have this capability or do I have to do some more work to update the database?