MS Access and Database Connections
Pre-workTo make our program work seamlessly, first we have to make a small change on the database table.
Pre-workOpen table in design view
Pre-workSet TCKIMLIK as primary key.
Important: What is primary key?
Next!Our very first database program
Database Connection
Database Connection
Database Connection
Database Connection
Database Connection
Database Connection
Database Connection
Adding DataGridView
DataGridView connection
DataGridView connection
DataGridView connection
DataGridView connection
DataGridView connection
DataGridView connection
DataGridView connection
Resides at the bottom
Loading data automatically
Saving (Persisting) Data
Saving (Persisting) Data
Saving (Persisting) Data
Saving (Persisting) DataClose the program, and reopen it.
Updating Data
Update some data, close the program and reopen it.
Deleting Data
Delete one row and reopen the program.