我现在试了这种方式
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Index(FormCollection f)
采用Request.Form[x] 来取得前台页面给farpoint控件赋的值,数据可以取到,不过是字符串的,内容如下,想问下这种数据可以通过farpoint自带的一些功能转换成一个SheetView吗?
%3Croot%3E%3Cdata%3E%3Crow%20key%3D%220%22%3E%3Ccell%20key%3D%220%22%3E1%3C%2Fcell%3E%3Ccell%20key%3D%221%22%3E2%3C%2Fcell%3E%3Ccell%20key%3D%222%22%3E3%3C%2Fcell%3E%3Ccell%20key%3D%223%22%3E4%3C%2Fcell%3E%3C%2Frow%3E%3Crow%20key%3D%221%22%3E%3Ccell%20key%3D%220%22%3E11%3C%2Fcell%3E%3Ccell%20key%3D%221%22%3E22%3C%2Fcell%3E%3Ccell%20key%3D%222%22%3E33%3C%2Fcell%3E%3Ccell%20key%3D%223%22%3E44%3C%2Fcell%3E%3C%2Frow%3E%3Crow%20key%3D%222%22%3E%3Ccell%20key%3D%220%22%3E111%3C%2Fcell%3E%3Ccell%20key%3D%221%22%3E222%3C%2Fcell%3E%3Ccell%20key%3D%222%22%3E333%3C%2Fcell%3E%3Ccell%20key%3D%223%22%3E444%3C%2Fcell%3E%3C%2Frow%3E%3C%2Fdata%3E%3Cstate%3E%3Ccolinfo%3E%3C%2Fcolinfo%3E%3Crowinfo%3E%3C%2Frowinfo%3E%3Cselection%3E%3Crange%20row%3D%222%22%20col%3D%223%22%20rowcount%3D%221%22%20colcount%3D%221%22%20rowIndex%3D%222%22%20colIndex%3D%223%22%2F%3E%3C%2Fselection%3E%3Ccellinfo%3E%3C%2Fcellinfo%3E%3CactiveRow%3E2%3C%2FactiveRow%3E%3CactiveColumn%3E3%3C%2FactiveColumn%3E%3C%2Fstate%3E%3Cactivespread%3E%3C%2Factivespread%3E%3Cactivechild%3EFpSpread1%3C%2Factivechild%3E%3CscrollLeft%3E0%3C%2FscrollLeft%3E%3CscrollTop%3E0%3C%2FscrollTop%3E%3C%2Froot%3E%0D%0A |