View Single Post
  #1 (permalink)  
Old May 31st, 2004, 03:07 PM
EleaCarm EleaCarm is offline
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to create OledbConnection Global.asax

Hi, any know How to create OledbConnection instance?

This is my code:

void Application_Start(object sender, EventArgs e) {
OleDbConnection Application["ConnDB"] = new OleDbConnection ConfigurationSettings.AppSettings["strConnDB"]);
Application["ConnDB"].Open();
}

Thanks for a lot.