hi,
I'm having a problem whit a BindingNavigator.
This is my code
Dataset ds = new Dataset();
DataBinding db = new DataBingding();
BindingNavigator bn = new BindingNavigator();
db.DataSource = ds.table;
bn.Bindingsource = db;
If the dataset is emty, and the user click on "Add new", fills out the informastion, and press save , the changes is not saved. If my dataset has 1 record, and the user click "Add New", fill out the informastion, and moves in the navigator, and then press save, the savingen is done. Do anybody kown why. It's seems like it a problem whit updateing the dataset.
Do anybody knows what I can do??
regards,
elin
I'm having a problem whit a BindingNavigator.
This is my code
Dataset ds = new Dataset();
DataBinding db = new DataBingding();
BindingNavigator bn = new BindingNavigator();
db.DataSource = ds.table;
bn.Bindingsource = db;
If the dataset is emty, and the user click on "Add new", fills out the informastion, and press save , the changes is not saved. If my dataset has 1 record, and the user click "Add New", fill out the informastion, and moves in the navigator, and then press save, the savingen is done. Do anybody kown why. It's seems like it a problem whit updateing the dataset.
Do anybody knows what I can do??
regards,
elin