Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         if (Request.QueryString["EmailID"] != null)
         {
             ZX_EmailBu email1 = new ZX_EmailBu();
             Hashtable  ht     = email1.GetMailDetailByID(Request.QueryString["EmailID"]);
             if (ht.Count > 0)
             {
                 this.from1.Text    = ht["from1"].ToString();
                 this.fromtime.Text = ht["time0"].ToString();
                 this.subject.Text  = ht["title"].ToString();
             }
             email1.Close();
         }
     }
 }