|
SqlCE PULL正常 SubmitSql也是正常的. 但是在 PUSH时出错. 请会的指点一下.
[复制链接]
程序如下:
string _strRemoteConnect = "provider=sqloledb;data source=192.168.1.99;Initial Catalog=zls;User ID=sa;";
SqlCeRemoteDataAccess _rda = new SqlCeRemoteDataAccess();
_rda.InternetLogin = string.Empty;
_rda.InternetPassword = String.Empty;
_rda.InternetUrl = "http://192.168.1.99/sqlce/sscesa20.dll";
_rda.LocalConnectionString = "Data Source=" + myfunction.Dir + "\\mydb.sdf";
MessageBox.Show("111");
_rda.Push("localtb", _strRemoteConnect, RdaBatchOption.BatchingOn);
// _rda.Dispose();
MessageBox.Show("OK");
到PUSH行出错
请会的朋友告诉一下小弟
哪里出错了. 或者是我SQLServer 边应该是怎么样... 还有如:不应该怎样......
|
|