protected void B_charge_Click(object sender, EventArgs e)
        {
            BLManagerOrders blorders = new BLManagerOrders();

            if (RBOntime.Checked)
            {
                List <String> list = blorders.ListClientEmail(RBOntime.Text);
                List_StatusFilter.Items.Clear();
                foreach (string item in list)
                {
                    List_StatusFilter.Items.Add(item);
                }
            }
            if (RBAboutTime.Checked)
            {
                List <String> list = blorders.ListClientEmail(RBAboutTime.Text);
                List_StatusFilter.Items.Clear();
                foreach (string item in list)
                {
                    List_StatusFilter.Items.Add(item);
                }
            }
            if (RBCanceled.Checked)
            {
                List <String> list = blorders.ListClientEmail(RBCanceled.Text);
                List_StatusFilter.Items.Clear();
                foreach (string item in list)
                {
                    List_StatusFilter.Items.Add(item);
                }
            }
            if (RBComitted.Checked)
            {
                List <String> list = blorders.ListClientEmail(RBComitted.Text);
                List_StatusFilter.Items.Clear();
                foreach (string item in list)
                {
                    List_StatusFilter.Items.Add(item);
                }
            }

            if (RBLate.Checked)
            {
                List <String> list = blorders.ListClientEmail(RBLate.Text);
                List_StatusFilter.Items.Clear();
                foreach (string item in list)
                {
                    List_StatusFilter.Items.Add(item);
                }
            }
        }
Exemplo n.º 2
0
        protected void B_charge_Click(object sender, EventArgs e)
        {
            BLManagerOrders blorders = new BLManagerOrders();
            List <String>   list     = blorders.ListClientEmail(TxtEmail.Text.Trim());

            List_ClientFilter.Items.Clear();
            foreach (string item in list)
            {
                List_ClientFilter.Items.Add(item);
            }
        }