|
SqlCeRemoteDataAccess rda = new SqlCeRemoteDataAccess();
string sCon = @"Provider=SQLOLEDB;Data Source=" + globalvalue.serverip + ";"
+ @"Initial Catalog=IIMS_xVoltage_Branch;User Id=sa;Password =ABCD";
rda.InternetUrl = @"http://" + globalvalue.serverip + "/Sqlce30/sqlcesa30.dll";
rda.LocalConnectionString = @"Data Source =\My Documents\IIMS_xVoltage_Branch.sdf";
rda.Pull(tablename, "select * from " + tablename,
sCon);
/////
明白了吧? |
|