Ramco Ramco

Ramco Ramco

  • 435
  • 3.4k
  • 546.8k

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)