public void InsertUpdateAgent(ArrayList agent)
        {

           CRM.DataAccess.AdministratorEntity.AgentCommisionMaster objagent = new CRM.DataAccess.AdministratorEntity.AgentCommisionMaster();
            agent.Insert(5, Session["usersid"].ToString());
           objagent.InsertUpdateAgentcommision(agent);
             
        }
 public void delAgent(int delagent)
 {
     CRM.DataAccess.AdministratorEntity.AgentCommisionMaster objdelagent = new CRM.DataAccess.AdministratorEntity.AgentCommisionMaster();
     objdelagent.delAgentcommision(delagent);
 }