Ejemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         CashierManageBIZ biz = new CashierManageBIZ();
         var list= biz.GetAllCashiers();
         this.GridView1.DataSource = list;
         this.GridView1.DataBind();
     }
 }
Ejemplo n.º 2
0
        private void initPage()
        {
            if (Cache["CashRegisterNos"] == null)
            {
                Cache["CashRegisterNos"] = getCashRegisterNos();
            }

            CashierManageBIZ biz = new CashierManageBIZ();
            var list = biz.GetAllCashiers();
            this.GridView1.DataSource = list;
            this.GridView1.DataBind();
        }