Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         string nowdate = DateTime.Now.ToString("yyyy-MM-dd");
         this.txtBeginDate.Text = nowdate;
         this.txtEndDate.Text   = nowdate;
         MyDate md = MyDateManager.GetLiveSupportCount("2008-8-8 20:08:08", DateTime.Now.ToString());
         DatabindLiveSupportCount(md);
     }
 }
Beispiel #2
0
    protected void ibtnSearch_Click(object sender, ImageClickEventArgs e)
    {
        MyDate md = MyDateManager.GetLiveSupportCount(this.txtBeginDate.Text.Trim(), this.txtEndDate.Text.Trim());

        DatabindLiveSupportCount(md);
    }