Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 517.2k

Connection String

Jun 4 2021 5:34 AM
Hi
 
    string cs = ConfigurationManager.ConnectionStrings["Cnn"].ConnectionString; 
I want that this code shoudl be written at one place & not in any Model.
  
 
Thanks 

Answers (7)