?? comment.cs
字號:
?using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// Comment 評論類
/// </summary>
public class Comment
{
private int commentid;
private string userid;
private int bookid;
private DateTime commenttime;
private string commentcontext;
private string caption;
public Comment(int commentid,string userid,int bookid,DateTime commenttime,string commentcontext,string caption)
{
this.commentid = commentid;
this.userid = userid;
this.bookid = bookid;
this.commenttime = commenttime;
this.commentcontext = commentcontext;
this.caption = caption;
}
public int CommentID { get { return commentid; } }
public string UserID { get { return userid; } }
public int BookID { get { return bookid; } }
public DateTime CommentTime { get { return commenttime; } }
public string CommentContext { get { return commentcontext; } }
public string Caption { get { return caption; } }
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -