protected void ddlAgents_Load(object sender, EventArgs e)
 {
     agentlistfullName        = AgentDB.GetAgents();
     ddlAgents.DataSource     = agentlistfullName;
     ddlAgents.DataTextField  = "AgtFullName";
     ddlAgents.DataValueField = "AgentID";
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         //on load, populate the drop down list for agents
         agentlistfullName        = AgentDB.GetAgents();
         ddlAgents.DataSource     = agentlistfullName;
         ddlAgents.DataTextField  = "AgtFullName";
         ddlAgents.DataValueField = "AgentID";
         ddlAgents.DataBind();
     }
 }