I have created a WPF project, where a user can insert the Servername in a textbox, and the connection should be saved in the app.config (in Runtime), ones that is done the data from a DB table should be loaded in the datagrid. When i press the connect button (after inserted the servername in the...
I have a winforms application & depending on the user selection regarding SQL authentication there are 2 possible connection strings :-
- using (var con = new SqlConnection(String.Format("Data Source={0}; database={1}; Integrated Security=True", Sql_ServerName, Sql_DataBaseName)))
- using (var...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.