学习.Net  
C#
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);
         }
posted on 2007-06-01 17:37  没有空气  阅读(452)  评论(0编辑  收藏  举报
 
同时有 个用户访问
hit statistics