Esempio n. 1
0
        private void CarregarMailing(int iIDCampanha)
        {
            try
            {
                comboMailing.Items.Clear();
            }
            catch { }

            mailingCTL CMailing = new mailingCTL();

            CMailing.PreencherComboBox_Mailings(comboMailing, iIDCampanha, Convert.ToBoolean(chkListarAtivos.Checked), true, false);
        }
        private void CarregarMailings(int iIDCampanha)
        {
            mailingCTL CMailing = new mailingCTL();

            CMailing.PreencherComboBox_Mailings(comboMailing, iIDCampanha);

            int iIDMailing = CMailing.RetornarMailingIndicacaoSupervisor(iIDCampanha);

            if (iIDMailing == 0)
            {
                comboMailing.SelectedValue = "-1";
            }
            else
            {
                comboMailing.SelectedValue = iIDMailing.ToString();
            }
        }