title: connect to database server without connection string
body: <p>from the question title is there any way to connect to the database server without using string connection?</p>
  
  <p>I don't wont to but the connection string in the code I want another way.</p>
  
  <p>Is it possible no matter what is the database engine is.</p>
  
  <p>I am building a Windows Form Application using C#.</p>
  
  <p>I mean something like trusted device or windows authentication or by butting a program on server side to do the authentication  </p>