sample code for access with c#
using System.Data.OleDb;
protected void btn_showst_Click()
{
OleDbConnection con;
con = new OleDbConnection("Microsoft.Jet.OLEDB.4.0" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\databasename.mdb");
con.Open();
OleDbCommand cmd = new OleDbCommand("select * from tablename", con);
OleDbDataReader dr;
dr = cmd.ExecuteReader();
GridView1.DataSource = dr;
GridView1.DataBind();
con.Close();
}
Source :
Acess Database Connection C# Asp.net
[
^]
Suggestion for you atleast first search yourself...
Thanks