10 2012 档案
摘要:protected void databind() { string sqlstr = ""; SqlParameter[] par = new SqlParameter[] { }; PagedDataSource pds = new PagedDataSource(); pds.DataSource=dbhelp.GetDataSet(sqlstr,par).DefaultView; this.AspNetPager1.RecordCount=pds.Count; pds.AllowPaging = true; pds.PageSize = this.AspNetPag
阅读全文
摘要:<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %><webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CustomInfoHTML="共 <font color='red'><b&
阅读全文
摘要:1、Web.config配置问题:将Web.config中的相关节配置成如下,然后重新编译你的程序:<httpHandlers><remove verb="*" path="*.asmx"/><add verb="*" path="*.asmx" validate="false" type="Microsoft.Web.Script.Services.ScriptHandlerFactory, Microsoft.Web.Extensions, Versi
阅读全文