Example #1
0
        protected void Submit1_ServerClick(object sender, EventArgs e)
        {
            OAComment oAComment = new OAComment(base.UserInfo);

            oAComment.EmployeeName = base.EmployeeName;
            oAComment.AddTime      = DateTime.Now;
            oAComment.Content      = TextBox1.Text;
            oAComment.AppID        = newsId;
            oAComment.AppName      = appName;
            WebTools.InsertComment(oAComment);
            readContentᜀ();
        }