I Thing this will help to you . . .
public static string strFile = @"C:\db_dataBaseName.accdb";
public static string strPass = "password";
public static string connstring = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + strFile + ";Jet OLEDB:Database Password=" + strPass + ";Persist Security Info=False;";