Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BindingNavigator

Status
Not open for further replies.

elinM

Programmer
Feb 12, 2004
15
NO
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top