I use VS 2012 and LocalDB for storing data.
This is my Solution Explorer:
I have one simple table in TestDb
. Here is structure of that table:
I run the program and add some records to the table. And I use BindingNavigator
and DataGridView
for adding and displaying data.
But there are some problems.
- When program starts it connects to the database very very slowly.
- When I press
Save
button on the navigator it does not save records to the database table.
So, what are the problems? Why is connecting so slow and why does it not save records into the database?