Exemplo n.º 1
0
    public void FillGridBin()
    {
        DataTable dt = new DataTable();

        dt = objDesg.GetClassMasterInactive(Session["CompId"].ToString().ToString());
        GvClassBin.DataSource = dt;
        GvClassBin.DataBind();
        Session["dtBinClass"]   = dt;
        Session["dtBinFilter"]  = dt;
        lblTotalRecordsBin.Text = Resources.Attendance.Total_Records + ": " + dt.Rows.Count.ToString() + "";

        lblSelectedRecord.Text = "";
        if (dt.Rows.Count == 0)
        {
            imgBtnRestore.Visible   = false;
            ImgbtnSelectAll.Visible = false;
        }
        else
        {
            AllPageCode();
        }
    }