摘要:
MVC利用表单上传下载 : 上传控制器: public ActionResult Index() { return View(); } [HttpPost] public ActionResult Index(HttpPostedFileBase file) { //upload是自己建的文件夹名称 阅读全文
摘要:
一、网络上的一般说法 1、ViewState 对象为Null。2、DateSet 空。3、sql语句或Datebase的原因导致DataReader空。4、声明字符串变量时未赋空值就应用变量。5、未用new初始化对象。6、Session对象为空。7、对控件赋文本值时,值不存在。8、使用Request 阅读全文