예제 #1
0
 private void UpdateMark_Click(object sender, EventArgs e)
 {
     try
     {
         int UpdateMarkId = int.Parse(UpdateMarkIdtextBox.Text);
         int UpdateMark   = int.Parse(UpdateMarktextBox.Text);
         repository.UpdateMark(UpdateMarkId, UpdateMark);
         UpdateMarkIdtextBox.Clear();
         UpdateMarktextBox.Clear();
     }
     catch (Exception exc)
     {
         MessageBox.Show(exc.ToString());
     }
 }