コード例 #1
0
        public static DataTable ListByContestEntryID(int contestEntryId)
        {
            DataSet   dsComments = ContestCommentDAL.ListCommentsByContestEntryID(contestEntryId);
            DataTable dtComments = new DataTable();

            if (dsComments.Tables.Count > 0)
            {
                dtComments = dsComments.Tables[0];
            }

            return(dtComments);
        }
コード例 #2
0
 public void Save()
 {
     ContestCommentDAL.SaveContestComment(this.Comment, this.ContestEntryID, this.ContestJudgeID);
 }