예제 #1
0
 private void showUserData()
 {
     TBInfoService infoService = new TBInfoService();
     TbInfo tb = infoService.getInfoById(id);
     ddlTbType.SelectedValue = tb.Id.ToString();
     txtTitle.Text = tb.InfoTitle;
     txtContent.Text = tb.InfoContent;
     txtContact.Text = tb.InfoContact;
     txtPhone.Text = tb.InfoPhone;
     txtEmail.Text = tb.InfoEmail;
 }
예제 #2
0
 private void showData()
 {
     TBInfoService infoService = new TBInfoService();
     TbInfo tb = infoService.getInfoById(id);
     lblType.Text = tb.Tbtype.TypeIntro;
     lblTitle.Text = tb.InfoTitle;
     //lblContent.Text = tb.InfoContent;
     lblContact.Text = tb.InfoContact;
     lblDate.Text = tb.InfoDate;
     lblEmail.Text = tb.InfoEmail;
     lblPhone.Text = tb.InfoPhone;
     aa.Text = tb.InfoContent;
 }