How to create OledbConnection instance Global.asax
Hi, any know How to create OledbConnection instance?
void Application_Start(object sender, EventArgs e) {
OleDbConnection Application["ConnDB"] = new OleDbConnection ConfigurationSettings.AppSettings["strConnDB"]);
Application["ConnDB"].Open();
}
Thanks for a lot.
|