客户端:
$.ajax({ type: "POST", url: "HomePage/HandleOperations", data: {operations: operationCollection}, success: function (data) { alert("SUCCESS"); }});
并声明一个类服务器端,如下所示:
public class Operation{ public int Index; public string Source; public string Target; public int AddOrDel;}
那么您可以执行以下 *** 作:
public void HandleOperations(Operation[] operations){}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)