//public void LoadUnit()
    //{
    //    try
    //    {
    //        Session["DocUnitList"] = BLLUnit.GetUnitList(null, null);
    //        this.drpUnit_rqd.DataSource = (List<ATTUnit>)Session["DocUnitList"];
    //        this.drpUnit_rqd.DataTextField = "UnitName";
    //        this.drpUnit_rqd.DataValueField = "UnitID";
    //        this.drpUnit_rqd.DataBind();

    //        ListItem a = new ListItem();
    //        a.Selected = true;
    //        a.Text = "Select Unit";
    //        a.Value = "0";
    //        drpUnit_rqd.Items.Insert(0, a);

    //    }
    //    catch (Exception ex)
    //    {
    //        this.lblStatus.Text = ex.Message;
    //    }
    //}

    public void LoadDocCategory()
    {
        try
        {
            Session["LstDocCategory"]              = BLLDocumentCategory.GetDocCategoryList(null);
            this.drpDocCategory_rqd.DataSource     = (List <ATTDocumentCategory>)Session["LstDocCategory"];
            this.drpDocCategory_rqd.DataTextField  = "CategoryName";
            this.drpDocCategory_rqd.DataValueField = "FileCatID";
            this.drpDocCategory_rqd.DataBind();

            ListItem a = new ListItem();
            a.Selected = true;
            a.Text     = "Select Category";
            a.Value    = "0";
            drpDocCategory_rqd.Items.Insert(0, a);
        }
        catch (Exception ex)
        {
            throw(ex);
        }
    }
    public void LoadDocCategory()
    {
        try
        {
            Session["DocSearchCategory"] = BLLDocumentCategory.GetDocCategoryList(null);
            //this.drpDocCategory_rqd.DataSource = (List<ATTDocumentCategory>)Session["DocSearchCategory"];
            //this.drpDocCategory_rqd.DataTextField = "CategoryName";
            //this.drpDocCategory_rqd.DataValueField = "FileCatID";
            //this.drpDocCategory_rqd.DataBind();

            //ListItem a = new ListItem();
            //a.Selected = true;
            //a.Text = "Select Category";
            //a.Value = "0";
            //drpDocCategory_rqd.Items.Insert(0, a);
        }
        catch (Exception ex)
        {
            lblStatus.Text = ex.Message;
        }
    }