摘要:
前台:mvc后台生成验证码,可指定位数刷新后台: public ActionResult yzm() { return View(); } /// /// 创建验证码的图片 /// //... 阅读全文
posted @ 2015-09-17 16:27
小小高
阅读(1270)
评论(0)
推荐(4)
摘要:
前台:下载下载后台: public ActionResult download() { return File(new FileStream(Server.MapPath("/upload/20150917145429221.png"), FileMode.Ope... 阅读全文
posted @ 2015-09-17 16:06
小小高
阅读(479)
评论(0)
推荐(2)
摘要:
后台代码: public ActionResult upload() { //获取文件对象 var file = Request.Files[0]; string suffix/*文件格式*/ = System.IO.P... 阅读全文
posted @ 2015-09-17 15:45
小小高
阅读(507)
评论(0)
推荐(3)

浙公网安备 33010602011771号