(E-Mail Removed) wrote:
>> and, later,
>>
>> this.sqlConnection1.ConnectionString = "workstation id=MYMACHINE;packet
>> size=4096;integrated security=SSPI;data source=MYM" +
>> "ACHINE;persist security info=False;initial catalog=Northwind";
>>
>
> Seems that you have missed - "Provider=SQLOLEDB.1"...
>
> Right-click on the connection in Visual Studio and select "Properties",
> and check the entry for "ConnectString" in the list.
Thanks, but when I insert that into the connection string for
sqlConnection1 (with a semicolon afterwards) I get an error dialog,
Invalid Property Value. "Keyword not supported: 'provider'."
Googling this, I find that the Provider string is redundant because I'm
already using a SqlConnection. I would need it if I were using an
OleDbConnection.