摘要:
上传文件使用ashx来处理,该部分代码可以处理任何上传的文件保存到制定文件夹int LocationID = 0;//图片关联外键 string description = null;//图片描述 int success = 1; public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; context.Response.Charset = "UTF-8"; ... 阅读全文