Beispiel #1
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     SPKTCore.Core.Domain.Comment c = new SPKTCore.Core.Domain.Comment();
     c.Body                 = tb_comment.Text;
     c.CreateDate           = DateTime.Now;
     c.CommentByAccountID   = _usersession.CurrentUser.AccountID;
     c.CommentByUsername    = _usersession.CurrentUser.UserName;
     c.SystemObjectID       = 1;
     c.SystemObjectRecordID = idst;
     _com.SaveComment(c);
     //LogUtil.Logger.Writeln("btnAddComment_Click  cmt: " + tb_comment.Text);
     //_presenter.AddComment1(tb_comment.Text, idst);
     //.Text = "";
 }
Beispiel #2
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     SPKTCore.Core.Domain.Comment c = new SPKTCore.Core.Domain.Comment();
     c.Body = tb_comment.Text;
     c.CreateDate = DateTime.Now;
     c.CommentByAccountID = _usersession.CurrentUser.AccountID;
     c.CommentByUsername = _usersession.CurrentUser.UserName;
     c.SystemObjectID = 1;
     c.SystemObjectRecordID = idst;
     _com.SaveComment(c);
         //LogUtil.Logger.Writeln("btnAddComment_Click  cmt: " + tb_comment.Text);
         //_presenter.AddComment1(tb_comment.Text, idst);
         //.Text = "";
 }