コード例 #1
0
        protected void SaveInfo()
        {
            ProcessEnvironmental_Info info = new ProcessEnvironmental_Info(int.Parse(txtKey.Text));

            info.Solution  = txtSolution.Text;
            info.MemberKey = Convert.ToInt16(Session["EmployeeKey"]);
            info.Save();
        }
コード例 #2
0
 protected void GV_Assessment_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName == "ItemFrontPage")
     {
         int Key = int.Parse(e.CommandArgument.ToString());
         ProcessEnvironmental_Info info = new ProcessEnvironmental_Info(Key);
         if (info.Status)
         {
             info.Status = false;
         }
         else
         {
             info.Status = true;
         }
         info.Save();
         LoadData();
     }
 }
コード例 #3
0
        protected void LoadInfo(int Key)
        {
            ProcessEnvironmental_Info info = new ProcessEnvironmental_Info(Key);

            txtSolution.Text = info.Solution;
        }