CAESDO.Recruitment.Web.Authorized_EmailTemplates.lviewApplications_DataBound C# (CSharp) Метод

lviewApplications_DataBound() защищенный Метод

After databound, find out if we should show the send emails button
protected lviewApplications_DataBound ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void
        protected void lviewApplications_DataBound(object sender, EventArgs e)
        {
            bool applicationsExist = lviewApplications.Items.Count > 0;

            pnlApplicationsExist.Visible = applicationsExist;

            if (applicationsExist)
            {
                txtBccAddress.Text = PositionBLL.GetByID(int.Parse(dlistApplicants.SelectedValue)).HREmail;
            }
        }