资源简介
【实例简介】
有關網頁捲軸拉到底時,載入資料的功能,用ASP.NET查詢資料
程式一開始是在後端page_load時先查詢資料,
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Services;
public partial class AuthorList : System.Web.UI.Page
{
private const int MAX_RECORDS = 5;
protected void Page_Load(object sender EventArgs e)
{
if (!IsPostBack)
BindGrid();
}
private void BindGrid()
{
// This is first call to db
gvAuthors.DataSource = GetAuthors(0 MAX_RECORDS);
gvAuthors.DataBind();
}
///
///
///
/// The zero-based record number to start with.
/// The maximum number of records to retrieve.
///
[WebMethod]
public static IList GetAuthors(int startRecord int maxRecords)
{
BusinessLogic bl = new BusinessLogic();
IList authors = bl.GetAuthors(startRecord maxRecords);
return authors;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1243 2013-04-14 02:00 LoadPartialDataInGridviewUsingJQueryAjax\App_Code\BusinessLogic.cs
文件 313 2013-04-12 02:55 LoadPartialDataInGridviewUsingJQueryAjax\App_Code\Businessob
文件 1132 2013-04-14 02:00 LoadPartialDataInGridviewUsingJQueryAjax\App_Code\DataAccess.cs
文件 731 2013-04-14 01:52 LoadPartialDataInGridviewUsingJQueryAjax\AuthorList.aspx
文件 991 2013-04-14 02:36 LoadPartialDataInGridviewUsingJQueryAjax\AuthorList.aspx.cs
文件 242990 2010-03-18 20:43 LoadPartialDataInGridviewUsingJQueryAjax\sc
文件 168792 2010-03-18 20:43 LoadPartialDataInGridviewUsingJQueryAjax\sc
文件 71922 2010-03-18 20:43 LoadPartialDataInGridviewUsingJQueryAjax\sc
文件 1101 2013-04-14 02:17 LoadPartialDataInGridviewUsingJQueryAjax\sc
文件 8518 2013-04-12 03:10 LoadPartialDataInGridviewUsingJQueryAjax\web.config
目录 0 2013-04-12 01:23 LoadPartialDataInGridviewUsingJQueryAjax\App_Code
目录 0 2013-04-12 00:49 LoadPartialDataInGridviewUsingJQueryAjax\App_Data
目录 0 2013-04-12 01:54 LoadPartialDataInGridviewUsingJQueryAjax\sc
目录 0 2013-04-12 02:10 LoadPartialDataInGridviewUsingJQueryAjax
----------- --------- ---------- ----- ----
497733 14
- 上一篇:通过VBA将outlook通讯录读出到xm
l文件 - 下一篇:算式计算器源码
相关资源
- asprise ocr 识别破解版,使用官方,无
- WASP 8.3风能资源分析软件
- asp+access数据库系统开发案例精选
- Aspose类,PDF转word
- Aspose.Words.dll
- Aspose.word for .NET 18.7破解版(附Core)亲
- ASP.NET Core 2.1 官方教程(2589页)
- Aspose.Words.dll 和帮助手册
- asp-sql注入源码
- Aspose.Slides v15.3.1破解版
- Aspose16.01及其授权
- Aspose.Slides破解版 版本16.11.0.0 附带破
- Aspose.Words
- 校园二手网站
- aspose.pdf.dll
- Aspose.total 破解办法仅限测试、研究
- 完整版asp企业网站案例源码
- HASP 加密狗驱动支持win10
- Aspose.Slides for net 4.0 16.12破解
- Aspose.Words 16.7 for .NET 破解版已加强名
- 捷通人才网(asp)
- Aspose.Words + Aspose.Cells + Aspose.Slides 19
- asp互动全系列视频教程
- aspose 文件转化 excel-word-ppt 含 lisence
- asp版微信开发项目:网站与微信公众
- 各个版本破解版Aspose.Words.dll
- asp音乐系统源码asp音乐系统源码
- Kaspersky 6.0汉化版
- VASP赝势文件PAW PBE
- vaspkit.1.00.linux.x64.tar.gz
评论
共有 条评论