コード例 #1
0
ファイル: View.ascx.cs プロジェクト: Jochumzen/EditSubjects
 private void CreateSubject(int order, int motherId)
 {
     BaseHandler bh = new BaseHandler();
     Subject newSubject = new Subject();
     newSubject.label = txtAddSubject.Text;
     newSubject.SubjectOrder = order;
     newSubject.MotherId = motherId;
     bh.CreateSubject(newSubject, this.UserId);
     txtAddSubject.Text = "";
     BindTree();
 }