Beispiel #1
0
        private void GetTitleAfter(int id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetTitleNameById(id);

            if (ls != null)
            {
                ListItem listItem = new ListItem();
                listItem.Value = ls.Id;
                listItem.Text  = ls.Name;

                txtTitleAfterReg.Text = listItem.ToString();
            }
            else
            {
                txtTitleAfterReg.Text = "-";
            }
        }
Beispiel #2
0
        private void GetTitleAfter(int id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetTitleNameById(id);

            if (ls != null)
            {
                ListItem listItem = new ListItem();
                listItem.Value = ls.Id;
                listItem.Text  = ls.Name;

                txtTitleAfterReg.Text = listItem.ToString();
            }
            else
            {
                txtTitleAfterReg.Text = Resources.propregApproveOfficerOIC_002;
            }
        }