Example #1
0
        private void BindOrders()
        {
            int       num;
            DataTable recentlyOrders = SubsiteSalesHelper.GetRecentlyOrders(out num);

            this.lblOrderNumbers.Text     = recentlyOrders.Rows.Count.ToString();
            this.hpksendOrder.Text        = num.ToString();
            this.hpksendOrder.NavigateUrl = Globals.ApplicationPath + string.Format("/Shopadmin/sales/ManageMyOrder.aspx?OrderStatus={0}", 2);
            this.allorders.NavigateUrl    = Globals.ApplicationPath + "/Shopadmin/sales/ManageMyOrder.aspx";
            this.grdOrders.DataSource     = recentlyOrders;
            this.grdOrders.DataBind();
        }