public static void MergeRealtime() { FileDataManager manager1 = new FileDataManager(null); foreach (DataRow row1 in StockDB.dtSymbolList.Rows) { if (!object.Equals(row1["LastTime"], row1["MergeTime"])) { string text1 = row1["Code"].ToString().Trim(); row1["MergeTime"] = row1["LastTime"]; StockDB.dtSymbolListChanged = true; StockDB.MergeOneRealtime(manager1, text1, StockDB.GetRealtimeData(row1)); } } }