|
-
Oct 11th, 2002, 05:19 AM
#1
Thread Starter
Fanatic Member
Update problem from datatable??
I have a dataset whose source is an empty access table.
I have a datagrid "Datagrid2" whos source is a datatable "dtPick"
I add rows to the table with the following:
Dim rowP As DataRow
rowP = dtPickle.NewRow()
rowP(0) = Me.txtCode.Text
rowP(1) = Me.txtDescription.Text
rowP(2) = Me.txtQuantity.Text
dtPickle.Rows.Add(rowP)
After this code executes "Datagrid2" shows the new row but how can I see that these additions are reflected in the underlying database?
I havent been programming .NET for long enough to figure this 1 out. Can anyone Help???
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
|