|
-
Jun 24th, 2002, 05:15 PM
#1
Thread Starter
Addicted Member
AddNew and Databinding
I have a simple form with one textbox bound to a datatable. A button is provided to allow the user in input new data. I am having problem with the databinding when adding a new record.
If I try...
dim rw as datarow = MyTable.NewRow()
MyTable.Rows.Add(rw)
I can see the row has been adding but I cannot get my currencymanager to point to the new row.
If I try...
cm.AddNew() 'cm = currency manager
The textbox clears (cm added a new row) but when I endcurrentedit a new row is not added to the datatable.
Any Ideas ...
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
|