Here is the Code:
Code:
public partial class Form1: Form
(
public Form1 ()
(
InitializeComponent ();
)
private void table1BindingNavigatorSaveItem_Click (object sender, EventArgs e)
(
this. Validate ();
this. table1BindingSource. EndEdit ();
this. tableAdapterManager. updateAll (this. database1DataSet1);
)
private void Form1_Load (object sender, EventArgs e)
(
/ / TODO: This line of code loads the data in table 'database1DataSet1.Table1. You can move or delete according to your needs.
this. table1TableAdapter. Fill (this. database1DataSet1. Table1);
)
)
)
Bookmarks