Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         List <KoDTicketingLibrary.DTO.Promotion> listPromo = VistaBOL.GetAllPromostionCode();
         int list = listPromo.Count;
         ddlAgent.Items.Add("SELECT");
         for (int i = 0; i < list; i++)
         {
             ddlAgent.Items.Add(listPromo[i].PromotionCode);
         }
         ddlAgent.DataBind();
     }
 }