I need to get the server name from my connection string in my web.config file. How can I parse this value out? I have tried split but it wont allow me to split on a = sign. How do I go about parsing this out?
<add name ="Connection" connectionString="server=L\sqlexpress;database=System;User ID=TEst;Password=pass"></add>
I need L\sqlexpress I know it seems simple but I'm not getting it. Thank you for your help.