第一种(常用): var proxy = new Ext.data.HttpProxy({url : url}) var store = new Ext.data.Store({ pruneModifiedRecords : true, proxy : proxy , reader : new Ext.data.JsonReader({totalProperty: "rowCount",root: "rows"},rows), baseParams:{start :
实体类 public class User { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } } 2.webthod方法 [WebMethod] public static User Insert(string q, User user) { return new U