G
Guest
hi
Im trying to insert a table from a distant SQLSERVER to a local SQLSERVER CE
//First, I retrieve the table from the distant DB, this operation is done correctly I have tested it already
DataSet ds = new DataSet()
SqlDataAdapter adapter = new SqlDataAdapter(SqlServerCmd);
adapter.Fill(ds)
//then I want to update the local DB with the dataset
SqlCeDataAdapter adapterce = new SqlCeDataAdapter(SqlceCMD)
adapterce.Update(ds,"Table")
//..
The application dont make any exception or error , but the Table is empty, in fact I think I need to define a mapping or something but I dont know how to tell the dataset to map a table on my local SQL server CE
Im trying to insert a table from a distant SQLSERVER to a local SQLSERVER CE
//First, I retrieve the table from the distant DB, this operation is done correctly I have tested it already
DataSet ds = new DataSet()
SqlDataAdapter adapter = new SqlDataAdapter(SqlServerCmd);
adapter.Fill(ds)
//then I want to update the local DB with the dataset
SqlCeDataAdapter adapterce = new SqlCeDataAdapter(SqlceCMD)
adapterce.Update(ds,"Table")
//..
The application dont make any exception or error , but the Table is empty, in fact I think I need to define a mapping or something but I dont know how to tell the dataset to map a table on my local SQL server CE