ACP*_*ACP 6 asp.net jquery pagemethods
我正在使用jQuery的ASP.NET页面方法.这是我的代码,
$.ajax({
type: "POST",
url: "Default.aspx/GetRecords",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
Run Code Online (Sandbox Code Playgroud)
和ASP.NET页面方法是,
[WebMethod]
public static string GetRecords(int currentPage,int pagesize)
{
// my logic here
}
Run Code Online (Sandbox Code Playgroud)
如何通过值currentPage和pagesize从jQuery的?
| 归档时间: |
|
| 查看次数: |
5786 次 |
| 最近记录: |