标签:ring param 类型 easyui summary json 状态 res str
类型:
/// <summary> /// easyui-datagrid返回绑定值 /// </summary> /// <typeparam name="T"></typeparam> public class ReturnDatagridData<T> { /// <summary> /// 默认为真 /// </summary> private bool result = true; /// <summary> /// 结果状态 /// </summary> public bool Result { get { return result; } set { result = value; } } /// <summary> /// 返回信息 /// </summary> public string Msg { get; set; } /// <summary> /// 总行数 /// </summary> public int total { get; set; } /// <summary> /// 返回数据 /// </summary> public List<T> rows { get; set; } }
返回结果:
return Json(new ResultPageModel<Model> { total = 0, rows = new List<Model>(), Result = false, Msg = "返回信息为空" });
标签:ring param 类型 easyui summary json 状态 res str
原文地址:http://www.cnblogs.com/lhlong/p/7890986.html