Quote:That string doesn't look right: "Data Source=myPC" is unlikely - you'd normally have an SQL instance name on that as well. "Provider=..." is not a keyword SQL Server supports. Have a look here: Simple SQL Connection String Creation[^] It should help you (and your client) generate a working connection. BTW: The sa user is not recommended - you should create a user with just enough permission to to the app's job. "sa" has full access to all DB's and can do anything to the system. Using that exposes your admin login to casual users, and puts things move at risk if there is an error in your code.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)