• λ我爱Aspx >> C#.Net >> 利用JQuery方便实现基于Ajax的数据查询、排序和分页功能_Ajax
  • 利用JQuery方便实现基于Ajax的数据查询、排序和分页功能_Ajax

  • :aspxer  Դ:internet  :2007-4-28 23:45:21  ؼ:ajax,数据
  • <td style="width: 100px; font-weight: bold; background-color: activeborder;">

    ShipAddress</td>

    <td style="width: 100px; font-weight: bold; background-color: activeborder;">

    ShipCity</td>

    <td style="width: 100px; font-weight: bold; background-color: activeborder;">

    SipCountry</td>

    </tr>

    <%foreach(Order_v item in dataview.DataItems)

    { %>

    <tr>

    <td style="width: 100px"><%=dataview.ToValue(item.CustomerName)%>

    </td>

    <td style="width: 100px"><%=dataview.ToValue(item.EmployeeName)%>

    </td>

    <td style="width: 100px"><%=dataview.ToValue(item.OrderDate, "{0:d}")%>

    </td>

    <td style="width: 100px"><%=dataview.ToValue(item.RequiredDate, "{0:d}")%>

    </td>

    <td style="width: 100px"><%=dataview.ToValue(item.ShipAddress)%>

    </td>

    <td style="width: 100px"><%=dataview.ToValue(item.ShipCity)%>

    </td>

    <td style="width: 100px"><% =dataview.ToValue(item.ShipCountry)%>

    </td>

    </tr>

    <% } %>

    </table>

    数据提供页相关Controller代码:

    [HFSoft.MVC.FormMapper("~/frmorderview.aspx")]

    public void OrderView()

    {

    HFSoft.MVC.IDataViewContext viewcontext = (HFSoft.MVC.IDataViewContext)this.FormContext;

    Ҷƪл˵?
  • һƪ数据库的相关操作:如连接、查询、添加、删除、修改、分页显示_JSP技巧
    һƪ在Oracle中实现搜索分页查询_数据库技巧