PC Review


Reply
Thread Tools Rate Thread

Connection String object Convert to String Variable Type

 
 
=?Utf-8?B?TWlrZSBNb29yZQ==?=
Guest
Posts: n/a
 
      26th Oct 2004
does anyone have an example of how to get the connection string object
converted to a string variable type in order for me to call a function?
 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      26th Oct 2004
A Connection String is just that: a string. It's not an object. So,
congratulations, you already have what you need!

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Mike Moore" <(E-Mail Removed)> wrote in message
news9C9967E-5A33-45AA-A319-(E-Mail Removed)...
> does anyone have an example of how to get the connection string object
> converted to a string variable type in order for me to call a function?



 
Reply With Quote
 
Norman Yuan
Guest
Posts: n/a
 
      26th Oct 2004
ConnectionString property of a SqlConnection/OleDbConnection IS string type,
not need to convert it to string type.

"Mike Moore" <(E-Mail Removed)> wrote in message
news9C9967E-5A33-45AA-A319-(E-Mail Removed)...
> does anyone have an example of how to get the connection string object
> converted to a string variable type in order for me to call a function?



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to convert a string representation of a type name into a Type object? Deckarep Microsoft C# .NET 6 18th Jun 2007 03:55 AM
How to convert a string variable dynamic to another type? a.frank81@gmx.ch Microsoft Dot NET 4 26th Jun 2006 01:43 PM
Convert String to a Worksheet type variable cd Microsoft Excel Discussion 1 13th Oct 2005 01:01 AM
cannot implicitly convert type object to string Andy Sutorius Microsoft ASP .NET 9 22nd Feb 2005 04:19 PM
Cannot create an object of type 'System.String[]' from its string representation 'String[] Array' for the 'Options' property. Hessam Microsoft C# .NET 0 8th Aug 2003 09:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:43 AM.