コード例 #1
0
 protected void btnSave_Click(object sender, EventArgs e)
 {
     StudyDetailObject studyDetail = new StudyDetailObject();
     studyDetail.StudyId.Value = Request[ParameterNames.Request.StudyId];
     studyDetail.Load(loggedInUserId);
     studyDetail.TechComments.Value = tbTechComments.Text;
     studyDetail.Save(loggedInUserId);
 }
コード例 #2
0
 protected override void Page_Load_Extended(object sender, EventArgs e)
 {
     if (IsPostBack == false)
     {
         StudyDetailObject studyDetail = new StudyDetailObject();
         studyDetail.StudyId.Value = Request[ParameterNames.Request.StudyId];
         studyDetail.Load(loggedInUserId);
         if (studyDetail.IsLoaded)
         {
             tbTechComments.Text = studyDetail.TechComments.Value.ToString();
         }
     }
     //lblStudyId.Text = Request[ParameterNames.Request.StudyId];
 }