protected void btnUpdate_Click1(object sender, EventArgs e)
        {
            Agentstbl Agn = new Agentstbl();

            Agn.AgentID = Convert.ToInt32(hdnAgentID.Value);

            Agn.Commission  = txtCommission1.Text;
            Agn.UpdatedBy   = 1;
            Agn.UpdatedDate = DateTime.Now.ToString(" yyyy-MM-dd HH:mm:ss");
            List <Agentstbl> lst = new List <Agentstbl>();

            lst = objagBL.UpdateAgentCommission(Agn).ToList();
            ScriptManager.RegisterStartupScript(this, GetType(), "alertMessage", "alertMessage('Agent Updated Successfully');", true);
            GetDocuments(Convert.ToInt32(hdnAgentID.Value));
        }