http://www.cnblogs.com/bianlan/archive/2013/01/12/2857310.html 控制器方法获取View页面传送的数据有多种方法,以Edit方法为例: 1.Form表单请求收集方式 包括Request.Form或者FormCollection. 如下: [HttpPost] public ActionResult Edit(FormCollection collection) { var album = new Album(); if (ModelSt…
var url = NSURL(string: "http://www.weather.com.cn/data/sk/101120501.html") var data = NSData(contentsOfURL: url!, options: NSDataReadingOptions.DataReadingUncached, error: nil) var json : AnyObject! = NSJSONSerialization.JSONObjectWithData(data…