public string GetForward() { if (DataConverter.CLng(Eval("ForwardID")) > 0) { string result = "<div class='msg_content_forward_div'>{0}"; DataTable dt = msgBll.GetContentByID(Convert.ToInt32(Eval("ForwardID"))); if (dt == null || dt.Rows.Count < 1 || string.IsNullOrEmpty(dt.Rows[0]["MsgContent"].ToString())) { return(""); } result = string.Format(result, dt.Rows[0]["MsgContent"]); result += "<div style='margin-top:5px;'>" + Convert.ToDateTime(dt.Rows[0]["CDate"]).ToString("yyyy年MM月dd日 HH:mm"); result += "</div></div>"; return(result); } return(""); }