Ejemplo n.º 1
0
        protected void btnQuery_Click(object sender, EventArgs e)
        {
            DataTable dt = rmBLL.getRMListByName(tbName.Text.Trim());

            ViewState["GridData"] = dt;
            GridRM.DataSource     = dt;
            GridRM.DataBind();
        }
Ejemplo n.º 2
0
        private void getRMList()
        {
            DataTable dt = rmBLL.getAllRepairMen();

            ViewState["GridRMData"] = dt;
            GridRM.DataSource       = dt;
            GridRM.DataBind();
        }
Ejemplo n.º 3
0
        private void getGridData()
        {
            DataTable dt = rmBLL.getAllRepairMen(true);

            if (dt.Rows.Count > 0)
            {
                ViewState["GridData"] = dt;
                GridRM.DataSource     = dt;
                GridRM.DataBind();
            }
        }