There are number of options and most common one is to user LINQ to SQL classes and connections string will be auto generated by Framework. If you want to use direct connection you can use following string: var connectionString = @"Driver={SQL Server}; Server={MACHINE_NAMESQLEXPRESS}; Database=StoreCatalog; Trusted_Connection=Yes;";
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
var connectionString = @"Driver={SQL Server}; Server={MACHINE_NAMESQLEXPRESS}; Database=StoreCatalog; Trusted_Connection=Yes;";