这是由asp.net mvc3
中的JSON格式错误引起的。
它在2012年的visual studio中运行,但在2013年的visual studio中却没有。
{"sEcho":"1","iTotalRecords":7,"iTotalDisplayRecords":7,"aaData":
[{"DeductionId":1,"DeductionName":"PAG-IBIG LOAN","IsActive":true},
{"DeductionId":2,"DeductionName":"SSS LOAN","IsActive":true},
{"DeductionId":3,"DeductionName":"CASH ADVANCE","IsActive":true},
{"DeductionId":4,"DeductionName":"HEALTH CARE","IsActive":true},
{"DeductionId":5,"DeductionName":"HOSPITAL LOAN","IsActive":true},
{"DeductionId":6,"DeductionName":"CANTEEN A","IsActive":true},
{"DeductionId":7,"DeductionName":"CANTEEN B","IsActive":true}]}