I am currently working on a windows form that has master and detail sections on it. I have about 12 textboxes and comboxes bound to a dataset for the master section and navigation buttons to go back and forth through the dataset. I also have a datagrid control for the detail section which is related to the master section. I have managed to populate master and detail section's records on the form using data adapter and dataset and I have also got the update part sorted out.
The only problem I have is adding a new record to a master section.
I have used "BindingContext(dataset, "table").AddNew()" method and also tried to add datarow and add a new row to dataset, but no luck so far.
Could any one give some clue how to add a new record in this situatin.
Any comments and helps would be appreiciated. Thanks.