private static string m_oleDbPath = Assembly.GetExecutingAssembly().Location + @"\..\..\data\Student.mdb";
public static OleDbConnection GetConnenction()
{
string strConnection = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + m_oleDbPath;
OleDbConnection oleDBcon = new OleDbConnection(strConnection);
oleDBcon.Open();
return oleDBcon;
}