Exemplo n.º 1
0
        private void InitialControl()
        {
            UploadLeadBiz biz = new UploadLeadBiz();

            cmbCampaign.DataSource     = biz.GetSaleAndBothCampaignList();
            cmbCampaign.DataTextField  = "TextField";
            cmbCampaign.DataValueField = "ValueField";
            cmbCampaign.DataBind();
            cmbCampaign.Items.Insert(0, new ListItem("", ""));

            cmbChannel.DataSource     = biz.GetChannelList();
            cmbChannel.DataTextField  = "TextField";
            cmbChannel.DataValueField = "ValueField";
            cmbChannel.DataBind();
            cmbChannel.Items.Insert(0, new ListItem("", ""));
        }
Exemplo n.º 2
0
        private void InitialControl()
        {
            pcTop.SetVisible = false;
            SetStateControlButton(false, false, false);
            Session.Remove(SessionUploadLead);

            UploadLeadBiz biz = new UploadLeadBiz();

            cmbCampaign.DataSource     = biz.GetSaleAndBothCampaignList();
            cmbCampaign.DataTextField  = "TextField";
            cmbCampaign.DataValueField = "ValueField";
            cmbCampaign.DataBind();
            cmbCampaign.Items.Insert(0, new ListItem("", ""));

            cmbChannel.DataSource     = biz.GetChannelList();
            cmbChannel.DataTextField  = "TextField";
            cmbChannel.DataValueField = "ValueField";
            cmbChannel.DataBind();
            cmbChannel.Items.Insert(0, new ListItem("", ""));
        }