Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parse database address
Message
From
07/11/2006 11:48:45
 
 
To
06/11/2006 14:04:02
Keith Payne
Technical Marketing Solutions
Florida, United States
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01167372
Message ID:
01167711
Views:
6
>
>string[] parts = DatabaseName.Split(new char[] {':', '/'});
>
I tried to parse the strings

myserver:myport

and

myserver/mydatabase

in first case

parts[1] contains "myport"

and in second case

parts[1] contains "mydatabase"

So it is not possible to determine port and database name using this parsing method.
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform