Exemplo n.º 1
0
 public static void PageCommentUpdate(int PageCommentID, int Status)
 {
     BINROTA.DAL.PageComments objPageCom = new BINROTA.DAL.PageComments();
     objPageCom.Load(PageCommentID);
     objPageCom.Status = Status;
     objPageCom.Save();
 }
Exemplo n.º 2
0
 public static void PageCommentUpdate(int PageCommentID, string Comment, int Point)
 {
     BINROTA.DAL.PageComments objPageCom = new BINROTA.DAL.PageComments();
     objPageCom.Load(PageCommentID);
     objPageCom.Comment = Comment;
     objPageCom.Point   = Point;
     objPageCom.Save();
 }
Exemplo n.º 3
0
 public static void PageCommnetInsert(int MemberID, int PageID, string Comment, int Point, int Status)
 {
     BINROTA.DAL.PageComments objPageCom = new BINROTA.DAL.PageComments();
     objPageCom.MemberID = MemberID;
     objPageCom.PageID   = PageID;
     objPageCom.Comment  = Comment;
     objPageCom.Point    = Point;
     objPageCom.Status   = Status;
     objPageCom.Save();
 }
Exemplo n.º 4
0
 public static DataTable GetMemberComments(int MemberID)
 {
     BINROTA.DAL.PageComments objPageCom = new BINROTA.DAL.PageComments();
     objPageCom.MemberID = MemberID;
     return(objPageCom.LoadByParams().Tables[0]);
 }