How i can make my connectionstring in sql flexible rather than using this:
If I am going to use this what if i place my application in a other computer that connection string will find the path of the server and the database on the previous computer that i work on.Code:conn.ConnectionString = "Data Source = ServerName; Initial Catalog = DatabaseName; Integrated Security = True;"




Reply With Quote