Help Needed

Help Needed

  • NA
  • 13
  • 23.4k

ConnectionString

Jan 25 2014 4:03 PM

Hi

 

  I was trying to get ConnectionString from App.Config file using

configuarationManager.ConnectionStrings["Connection"].connectionstring; where in App.config file

connection string name is Connection. I also added reference to system.configuration. and also added using system.configuration.

 

But I am not able to get it. The value is null.I am stuck in going further until I get the answer .

Thank you all 


Answers (1)