|
-
Jan 4th, 2004, 03:41 PM
#1
Thread Starter
Hyperactive Member
Adding new records to more than one column
Dim oDataAdapter As New MySqlDataAdapter
Dim oRow As DataRow
oRow = oDataset.Tables(strSelectedValue).NewRow()
oRow.Item(0) = txtName.Text
oDataset.Tables(strSelectedValue).Rows.Add(oRow)
This is what i have so far that add's a new record to a table with one column... how can i make it so that i can add 3 values to the table one for each column?
i.e.
Table1
NAME Date of Birth SS
john doe xx/xx/xxxx xx-xxx-xxxx
thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|