General information
Title:
Trying to 'Add' a record to a dataset
Hi.
I have a form with two pages, Grid in page one and Controls in Page 2
I have a Dataset displaying fine in page one, with controls in Page Two.
I have an 'Add' button , the purpose of which is to 'Add' a new record
I have following code in click event:
this.ds.Tables["MYTABLE"].NewRow();
This seems to run (.i.e does not give an error message) but I cannot see a new record in the Grid ?
What I would like to do is:
1. Add the new record to the Dataset Table
2. 'Land' on this record (i.e. Goto MyNewDatSetRecord)
3. Set focus to the first field on Page 2
Any assistance greatly appeciated
Regards
Gerard
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only