public int GetLikeNum() { return(LikesDt.Select("MsgID=" + Eval("ID").ToString().Trim('-') + " AND Source='" + Eval("Source") + "'").Length); }
public string IsShowLike() { return(LikesDt.Select("MsgID=" + Eval("ID").ToString().Trim('-') + " AND Source='" + Eval("Source") + "'").Length > 0 ? "" : "display:none;"); }