Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 March 4th, 2009, 07:05 AM
Authorized User
 
Join Date: Nov 2005
Posts: 41
Thanks: 6
Thanked 1 Time in 1 Post
Send a message via MSN to RobCarter
Question Symbols in connectionstring initial catalog

Hi All

I have inherited a database the name of which inculdes a "&" symbol. How do I reference this in the connectionstring of my asp.net web.config?

I'm sure it's a simple solution.

Hopefully

Rob
__________________
Rob Carter
 
Old March 4th, 2009, 08:14 AM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Substituting & for the & should work.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
RobCarter (March 4th, 2009)





Similar Threads
Thread Thread Starter Forum Replies Last Post
finding symbols keytecstaff Word VBA 1 August 3rd, 2007 11:27 AM
The ConnectionString property has not been initial libbydoo ASP.NET 1.0 and 1.1 Basics 6 November 22nd, 2006 10:11 PM
The ConnectionString property has not been initial mar0364 ASP.NET 1.0 and 1.1 Basics 6 March 17th, 2006 11:24 PM
Symbols and Membership Types rgerald Forum and Wrox.com Feedback 9 August 13th, 2003 10:11 AM
trademark and registered symbols kikoyjr XML 3 July 25th, 2003 03:33 AM





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