C# 让jqgrid在c webform上显示数据时出现问题

C# 让jqgrid在c webform上显示数据时出现问题,c#,webforms,jqgrid,C#,Webforms,Jqgrid,我一整天都在努力让数据显示在jqgrid中。然后网格显示ok,但是里面没有数据,我不知道为什么数据会丢失。这是我试图加载的网页的响应 {total: "1",page: "1",records: "2",rows : [{id:"1", "cell":["Test1", "1234", "Info"]},{id:"2", "cell":["Test2", "5678", "Info"]}]} 这是加载信息的代码: <link rel="stylesheet" type="text

我一整天都在努力让数据显示在jqgrid中。然后网格显示ok,但是里面没有数据,我不知道为什么数据会丢失。这是我试图加载的网页的响应

{total: "1",page: "1",records: "2",rows : [{id:"1", "cell":["Test1", "1234", "Info"]},{id:"2", "cell":["Test2", "5678", "Info"]}]}
这是加载信息的代码:

    <link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/jquery-ui-1.7.2.custom.css" />

<script src="Scripts/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="Scripts/grid.locale-en.js" type="text/javascript"></script>
<script src="Scripts/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
<script src="Scripts/jquery.jqGrid.min.js" type="text/javascript"></script>
<script src="Scripts/json2-min.js" type="text/javascript"></script>

<script type="text/javascript">

//JS for the main history grid
jQuery(document).ready(function () {
    jQuery("#datalist").jqGrid({
        url: 'Data1.aspx',
        datatype: 'json',
        colNames: [
              'Type'
             , 'URN'
             , 'Log'],
        colModel: [{ name: 'id', index: 'id', sorttype: "int", width: 35 },
       { name: 'type', index: 'type', width: 45, align: "center" },           
       { name: 'log', index: 'log', width: 35, align: "center"}],
        height: 400,
        width: 1165,           
        shrinkToFit: true,
        caption: "Job History",
        viewrecords: true,
        sortorder: "desc"            
    })      
});

我的json响应的格式是否错误,我的网格是否遗漏了什么?现在真的开始烦我了

谢谢
卢克

看到帖子上的评论,我在开始时遗漏了关键点的引号

算了吧,我刚刚发现了问题。我在总数/页面/记录中缺少引号!