An OLE DB Provider was not specified in the ConnectionString. 'Provider=SQLOLEDB;

前端 未结 2 1909
执笔经年
执笔经年 2020-12-20 23:02

i trying to run query using C#, i am getting the following problem

An OLE DB Provider was not specified in the ConnectionString. An example would be,

2条回答
  •  鱼传尺愫
    2020-12-20 23:46

    Try adding this to your connection string,

    Provider=SQLNCLI10.1
    

    So it would be;

    
    

提交回复
热议问题