03 2017 档案
摘要:MVC中form提交和在控制器中怎样接受1.cshtml页面form提交2.控制器处理表单提交数据4种方式方法1:使用传统的Request请求取值[HttpPost]public ActionResult AddNews(){ string a=Request["text1"]; string b=
阅读全文
摘要:在开发过程中.数组和集合的处理是最让我们担心.一般会用for or foreach 来处理一些操作.这里介绍一些常用的集合跟数组的操作函数. 首先举例2个集合A,B. List<int> listA = new List<int> {1,2,3,5,7,9}; List<int> listB = n
阅读全文

浙公网安备 33010602011771号