Commit 324e3da8 by 泽锋 李

fix

parent d75eb92d
...@@ -229,7 +229,7 @@ namespace AutoTurnOver.DB.Base ...@@ -229,7 +229,7 @@ namespace AutoTurnOver.DB.Base
pageIndex++; pageIndex++;
if (table.Rows.Count == 0) return 0; if (table.Rows.Count == 0) return 0;
string tmpPath = Path.GetTempFileName(); string tmpPath = Guid.NewGuid()+".csv";
Console.WriteLine(tmpPath); Console.WriteLine(tmpPath);
string csv = DataTableToCsv(table); string csv = DataTableToCsv(table);
File.WriteAllText(tmpPath, csv); File.WriteAllText(tmpPath, csv);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment