Пример #1
0
    private void CarregarMailings(int iIDCampanha)
    {
        mailingCTL CMailing = new mailingCTL();

        try
        {
            CMailing.CarregarDropdownMailings(dropMailing, iIDCampanha, false, false, true);
        }
        catch { }
    }
    private void CarregarMailings(int iIDCampanha)
    {
        mailingCTL CMailing = new mailingCTL();

        try
        {
            CMailing.CarregarDropdownMailings(dropMailing, iIDCampanha, true, false, false);

            int iIDMailing = CMailing.RetornarMailingIndicacaoSupervisor(iIDCampanha);

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