Hi,
How do I go about creating a dataset to update a database.
I started off with this:
Private dsDataContacts As New DataSet
Dim dtDataContacts As DataTable = New DataTable("Contacts")
dsDataContacts.Tables.Add(dtDataContacts)
'Build the Contacts table.
With dtDataContacts.Columns
.Add("ClientId", ToString)
.Add("ComanyName", ToString)
etc...
End With
How do I now populate the dataset via data from text controls?
H
How do I go about creating a dataset to update a database.
I started off with this:
Private dsDataContacts As New DataSet
Dim dtDataContacts As DataTable = New DataTable("Contacts")
dsDataContacts.Tables.Add(dtDataContacts)
'Build the Contacts table.
With dtDataContacts.Columns
.Add("ClientId", ToString)
.Add("ComanyName", ToString)
etc...
End With
How do I now populate the dataset via data from text controls?
H