Newer
Older
DungeonShooting / DungeonShooting_ExcelTool / Program.cs
@lijincheng lijincheng on 21 Jun 2023 566 bytes 修改导出excel表工具
  1.  
  2. public class Program
  3. {
  4. public static void Main(string[] args)
  5. {
  6. Console.WriteLine("准备导出excel表...");
  7. bool success;
  8. if (args.Length >= 3)
  9. {
  10. success = ExcelGenerator.ExportExcel(args[0], args[1], args[2]);
  11. }
  12. else
  13. {
  14. success = ExcelGenerator.ExportExcel();
  15. }
  16. if (success)
  17. {
  18. Console.WriteLine("excel表导出成功!");
  19. }
  20. else
  21. {
  22. Console.WriteLine("excel表导出失败!");
  23. }
  24. }
  25. }