public static void PageCommentUpdate(int PageCommentID, int Status) { BINROTA.DAL.PageComments objPageCom = new BINROTA.DAL.PageComments(); objPageCom.Load(PageCommentID); objPageCom.Status = Status; objPageCom.Save(); }
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(); }