Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > Other ASP.NET > ASP.NET Espanol
|
ASP.NET Espanol Esta es una lista de correo dedicada al intercambio de conocimiento sobre ASP.NET en el idioma español.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET Espanol section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 31st, 2004, 03:31 PM
Registered User
 
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default como crear una variable tipo Application OleDBConn

Hola, alguien sabe como crear una variable tipo Application que sea una conexión a una base de datos con OleDBConnection?

Mi código es:

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


Pero no funciona.

Gracias






Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Application state variable value in Web form smp4774 ASP.NET 2.0 Basics 1 April 10th, 2007 07:55 AM
Variable with application scope madhukp PHP How-To 0 January 8th, 2005 12:41 AM
how to call application variable in global.asa mqnguyen Classic ASP Basics 4 July 28th, 2003 11:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.