Reading connection string from App.config using LINQ
-
Good morning. I am having a challenge deriving a connection string from my App.config. It is laid out for a special way of connection to SQL Server and Teradata, and using AppSettings is not possible. I would like to query for the value using LINQ or Lamda, but I don't have a great deal of experience in either.
-
Good morning. I am having a challenge deriving a connection string from my App.config. It is laid out for a special way of connection to SQL Server and Teradata, and using AppSettings is not possible. I would like to query for the value using LINQ or Lamda, but I don't have a great deal of experience in either.
Wheels012 wrote:
I would like to query for the value using LINQ or Lamda, but I don't have a great deal of experience in either.
Why would you want it in "LINQ or Lambda"? (Without using the "it looks cool" argument) A
XmlDocument
could be used, just looping nodes and returning the desired value.Bastard Programmer from Hell :suss:
-
Wheels012 wrote:
I would like to query for the value using LINQ or Lamda, but I don't have a great deal of experience in either.
Why would you want it in "LINQ or Lambda"? (Without using the "it looks cool" argument) A
XmlDocument
could be used, just looping nodes and returning the desired value.Bastard Programmer from Hell :suss: