資源簡介
【實例簡介】
有關網頁捲軸拉到底時,載入資料的功能,用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