Ramco Ramco

Ramco Ramco

  • 440
  • 3.4k
  • 529.4k

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)