asp.net 页面跳转传值

<table class="table" id="onclik">
                            <thead>
                                <tr>
                                    <th>ID</th>
                                    <th>姓名</th>
                                    <th>年龄</th>
                                    <th>地址</th>
                                    <th>性别</th>
                                    <th>班级</th>
                                    <th style="width: 26px"></th>
                                </tr>
                            </thead>
                            <tbody id="onclk">
                                <%

                                    System.Collections.Generic.List<ExaminationHerp.Sys_User> users = (System.Collections.Generic.List<ExaminationHerp.Sys_User>)ViewState["Users"];
                                    foreach (ExaminationHerp.Sys_User item in users)
                                    {
                                %>
                                <tr id="Message">
                                    <td><%=item.ID %></td>
                                    <td><%=item.Name %></td>
                                    <td><%=item.Age %></td>
                                    <td><%=item.Address %></td>
                                    <td><%=item.Sex==1?"男":"女" %></td>
                                    <td><%=item.ClassNa%></td>

                                    <td>
                                        <a href="#" id="onc" ><i class="icon-pencil" ></i></a>
                                        <a href="#" role="button" data-toggle="modal"><i class="icon-remove"></i></a>
                                    </td>
                                </tr>
                             <%     } %>
                            </tbody>
                        </table>

点击ID为onc的a标签跳转新的页面 并且获取跳转前页面每一个td中的文本 传入跳转后页面的每一个textbox中

 <tr id="Message">
    <td><%=item.ID %></td>
    <td><%=item.Name %></td>
    <td><%=item.Age %></td>
    <td><%=item.Address %></td>
    <td><%=item.Sex==1?"男":"女" %></td>
    <td><%=item.ClassNa%></td>

    <td>
        <a href="#" id="onc" onclick="setHref(this)"><i class="icon-pencil"></i></a>
        <a href="#" role="button" data-toggle="modal"><i class="icon-remove"></i></a>
    </td>
</tr>
<script>
    function setHref(a) {
        var tr = a.parentNode.parentNode;
        a.href = 'xxxxx.aspx'///注意修改页面名称
            + '?id=' + tr.cells[0].innerHTML + '&name=' + encodeURIComponent(tr.cells[1].innerHTML)
        + '&age=' + encodeURIComponent(tr.cells[2].innerHTML)
        + '&address=' + encodeURIComponent(tr.cells[3].innerHTML)
        + '&sex=' + encodeURIComponent(tr.cells[4].innerHTML)
        + '&classna=' + encodeURIComponent(tr.cells[5].innerHTML)
    }
</script>