<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Reporting_Data.aspx.cs" Inherits="helpdesk.helpdesk.Reportng_Data" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <script src="../javascript/jquery-1.9.1.min.js"></script>
    <script src="../bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>

  
        
        
        
         <table id="tbl_data" class="table table-hover">
<tr>
 
      <th width="400px">数据</th>
    <th width="100px">个数</th>
    <th></th>
</tr> 
    </table>




          <script>

        $(document).ready( 
            function ()
            {
                
               
                $.ajax({
                    url: "ajax/ajax_ticket_reports_data.aspx",
                    data: { dt1: '<%=Request.QueryString["dt1"] %>', dt2: '<%=Request.QueryString["dt2"] %>', types: '<%=Request.QueryString["t"] %>' },
                    cache: false,
                    async: false,
                    dataType: 'json',
                    success: function (data) { 
                        var tr_data = "";
                        $.each(data, function (i, item) {
                              
                              tr_data += "<tr><td>"+item.name+"</td><td>"+item.value+"</td><td></td></tr>";
                          })
                         
                        $("#tbl_data").append(tr_data);
                      
                      
                      
                    }
                });

                
                  
            }

             

            );


    </script>


    
    </div>
    </form>
</body>
</html>
