private void GetAllStore()
 {
     try
     {
         var result = aStoreBll.GetProgram(((SessionUser)Session["SessionUser"]).OCode);
         if (result.Count > 0)
         {
             ddlProgram.DataSource     = result.ToList();
             ddlProgram.DataTextField  = "programName";
             ddlProgram.DataValueField = "ProgramId";
             ddlProgram.DataBind();
             ddlProgram.Items.Insert(0, new ListItem("---Select---", "0"));
         }
     }
     catch (Exception ex)
     {
         ScriptManager.RegisterStartupScript(this.Page, Page.GetType(), "text", "func('" + ex.Message + "')", true);
     }
 }