I want to make a simple application for an exercise, so it could be nice to connect to a simple database like Access (.accdb)
My program looks like this:
<
add using System.Data.OleDb library.
System.Data.OleDb
now for the connection string
OleDbConnection con = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\Aishwar NIGAM\\Documents\\indianOil.accdb");