Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
Button on BindingNavigator executed method of Form just partialy. How it could be?
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Grigoriy
18y
2.3k
1
Reply
Hi All
I am trying add to standart binding navigator some button. I add "Save" button. In event click it call method Save() of form
private void Save()
{
try
{
AppStart.setarithabort(this.tbAccountTableAdapter.Connection);
this.tbAccountTableAdapter.Update(this.dsInvestorAccount.tbAccount);
MessageBox.Show("Changes are saved");
}
catch (Exception ex)
{
MessageBox.Show("Error is happend. Please, let know programmer \n" + ex.Message);
}
}
If I call this method from button on form it works. if I call this method from button on Binding Navigator
update
of table does not happen, it shows however message box. What do I do wrong?
Thanks in advance
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
How to create Form control with MAC style?
Restore button of MDI child form