CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.microsoft_application_blocks Tags:
Item Type: NewsGroup Date Entered: 6/21/2007 6:56:41 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 129 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
shapper
Asp.Net User
Connect to database6/21/2007 6:56:41 PM

0

 Hello,

I am using Microsoft Enterprise Library, on a class, to connect to a database as follows:

  Dim db As Database = DatabaseFactory.CreateDatabase("DatabaseName")

However, I would like the database name to be dynamic, i.e., specified on the web site.

Can I define a connection string in my web site web.config and then use it to create the database?

Or can I create my own Web.Config group to hold this information?

Thanks,
Miguel

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Expert Oracle database 10g administration Authors: Sam R. Alapati, Pages: 1276, Published: 2005
Mastering the SAP business information warehouse: leveraging the business intelligence capabilities of SAP NetWeaver Authors: Kevin McDonald, Andreas Wilmsmeier, W. H. Inmon, Pages: 690, Published: 2006
How to do everything with Web 2.0 mashups Authors: Jesse Feiler, Pages: 303, Published: 2007
PostgreSQL developer's handbook Authors: Ewald Geschwinde, Hans-Jürgen Schönig, Pages: 753, Published: 2002
Sams teach yourself SQL in 24 hours Authors: Ronald R. Plew, Ryan K. Stephens, Pages: 472, Published: 2002

Web:
PHP MySQL Connect to a Database Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building.
How Do I: Connect a Database Control to a Database Such as SQL ... The name of the physical database. Host Name. The name of the database server. Port. The port on the database server used to connect to the database. ...
How to connect to MS SQL Server database This tutorial describes how to connect to MSSQL database with a DSN and without a DSN.
How do I connect to my MySQL database? Here's how to connect using PHP Connect to MySQL Database - PHP MySQL Tutorial Don't forget to select a database using mysql_select_db() after connecting to mysql. If no database selected your query to select or update a table will not ...

Cannot connect to the Provider Database - ng.asp-net-forum.security Cannot connect to the Provider Database, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.security, Date: 5/26/2007 12:19:49 AM, ...
Could not connect to database specified in connectionString for ... Could not connect to database specified in connectionString for SqlDataProvider, > ROOT > NEWSGROUP > Asp.Net Forum ...
Installation Failure (Could not connect to database) - ng.asp-net ... Installation Failure (Could not connect to database), > ROOT > NEWSGROUP > Asp. Net Forum ...
Message: Unable to connect to SQL Server session database ... Message: Unable to connect to SQL Server session database., > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.state_management, ...
Web Site Administration Tool very slow - unable to connect to SQL ... Web Site Administration Tool very slow - unable to connect to SQL Server Database, > ROOT > NEWSGROUP > Asp.Net Forum ...

Videos:
[java] JDBC - Connect to access database Tutorial connect to database by jdbc in java programming
How to connect to a database using ADO.NET and VS.NET For my CIS 407 class at DeVry University we needed to learn to connect to a databaseusign Visual Studio .NET
Connect to Your Microsoft Access Database, Using Open ... visit http://www.screencastcentral.com for more. In this screencast tutorial, we show you the process of connecting Open Office Base to a ...
Bulk Email Software - how to connect remotely to a MySQL database This video demonstrates how to connect remotely via the Internet to a MySQL database provided by a web hosting service using G-Lock EasyMail 5 ...
MySQL, How to connect to the database. This video shows you how to connect and disconnect to and from the database using PHP.






admin login stops working

dnn 2.1.2 ready to download !!!!!!!!

dnn3.x: personalization for a not logged user. is it possible?

moving from access to mssql

child portal question

error converting: tabs: column does not allow nulls.

help! fresh install - blank homepage and half the modules (including text/html) are missing

issue with 2.1.2 not responding - scheduler or sitelog errror?

2.0.(5?), css - not skin - not container - but, prefix attrib in "module settings"

exception handling in 2.1.2

treeview menu in 3.012

how to hide ? in module title

problems with installing dnn 3.1.0

phpnuke forum to a dnn forum migration, can it be done?

elearning

what is new in dnn 4.0.2

porting asp.net forum 2.0 as an dnn2 module.

master detail type module

3.0.x issue - windows doesn't prompt to remember login

module css styles - best practices

error when installing communityserver forums on a dotnetnuke site. no se encuentra el archivo o el nombre del ensamblado dotnetnuke.httpmodules.urlrewrite

you guys are awesome

dnn 3.0.5- pagename and title [possible] bug(s)?

can't login to www.dotnetnuke.com

can container package have it's one css

how do you upgrade from dnn3 to dnn4?

exception at the module settings page (dnn 3.0.7)

menu control for child tabs

allowing users to change their user name

dnn and instantasp knowledge base

   
  Privacy | Contact Us
All Times Are GMT