try
    {
     tmp = (MemoryStream)Session["ch1"];
     tmp.Position = 0;
     ch1.Import.Template.Load(tmp);
    }
    catch(System.Exception ex)
    {
          tmp = new MemoryStream();//重新生成Stream
     ch1.Export.Template.Save(tmp);
     Session.Add("ch1",tmp);
         }

相关文章:

  • 2022-02-03
  • 2021-06-01
  • 2021-07-22
  • 2022-12-23
  • 2021-10-31
  • 2021-12-21
  • 2021-11-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-06
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案