i wanted to make a simple data entry application. So i did the following
- Created a new Windows Form Application
- Added a DataGridView
- Added a new DataSource (SQL Express Database, having a single table with 3 columns - id, name, number) id is integer and is the primary key
- As the designer automatically populates the DataSet, BindingSource and TableAdapter i ran the application.
when i ran the application it showed the existing data, and i was able to add new data by clicking on empty row or edit existing data. But it did not store (commit) the data for me.
After i make the changes i just close the application. I remember doing it some time ago and it used to reflect changes. Do i have to add any code to commit the changes?