asp.net mvc返回字符

  
        public ActionResult QueryContent()
        {
            if (string.IsNullOrWhiteSpace(Request.Form["AntiCode"]))
                return Content("未提交参数", "text/plain"); 
}
posted on 2012-08-04 19:56  上校  阅读(186)  评论(0)    收藏  举报