1
Answer

How to get the Save buton of a dropped table from DB to work

tim neuss

tim neuss

7y
255
1
Hey!
 
I'm pretty new to C# and just accomplished a DB with a Table. If i drop the Table ( details) onto a Form, it automatically gives me a toolbar and the Label / Textboxes of my table.
 
In the toolbar there is a Save button, but this isnt working ( for me?)
 
so im wondering how i can change the code to get it to work?
 This is the automatically inserted code:
 
  1. private void kundenBindingNavigatorSaveItem_Click(object sender, EventArgs e)  
  2. {  
  3.     this.Validate();  
  4.     this.kundenBindingSource.EndEdit();  
  5.     this.tableAdapterManager.UpdateAll(this.kundenDataSet1);  
  6.   
  7. }  
 
 I am also okay with a source to try to learn it myself.
Im using Visual Studio 2017 Enterprise Edition. 
Answers (1)