Example #1
0
        private void GetRecipients()
        {
            gcRecipients.DataSource = null;
            using (BrightPlatformEntities _efDbContext = new BrightPlatformEntities(UserSession.EntityConnection)) {
                gcRecipients.DataSource = _efDbContext.FIGetSubCampaignEmailRecipients(m_BrightSalesProperty.CommonProperty.SubCampaignId);
                gvRecipients.BestFitColumns();
            }

            gvRecipients.Columns["role_name"].Width = 100;
            gvRecipients.Columns["mail_cc"].Visible = false;
        }