C#数据同步中基本步骤和用到的相关函数
摘要:
数据同步对比步骤:1.将两数据库中对应的数据表分别生成XML文件 /// /// 将一个DataTable以xml方式存入指定的文件中 /// /// /// public void SaveDataTableToXml(DataTable dt, string filePath) { //创建文件夹 if (!Directory.Exists(Path.GetDirectoryName(filePath))) { Directory.CreateDirectory(Path.GetDirectoryName(filePath)); } DataSet ds = new DataSet... 阅读全文
posted @ 2010-03-17 06:30 风灵溪清 阅读(180) 评论(0) 推荐(0)
浙公网安备 33010602011771号