日期:2014-05-16 浏览次数:20296 次
$(function () { $('#example').dataTable({ "bProcessing": true, "bServerSide": true, "bAutoWidth": false, "aoColumns": [ { "sTitle": "HeroId" }, { "sTitle": "Name" }, { "sTitle": "Level" }, { "sTitle": "HK" }, { "sTitle": "Race"}], "sAjaxSource": "Default.aspx?action=4" }); });
public string InitData4() { StringBuilder sb = new StringBuilder(); sb.Append("{"); sb.Append("\"aaData\": ["); sb.Append("[\"李伟\",\"男\",1,6,null]"); sb.Append("] }"); return sb.ToString(); }