摘要: ConfigHelper类用来读取web.config配置的数据 引入 using System.Configuration; 命名空间public sealed class ConfigHelper{ public static string GetConfigString(string key){ return ConfigurationManager.AppSettings[key];} /... 阅读全文
posted @ 2010-05-25 16:22 smodi 阅读(2180) 评论(0) 推荐(0) 编辑
摘要: 下载地址:http://www.webdiyer.com/Products/AspNetPager/DownloadsAspNetPager分页示例:http://www.webdiyer.com/AspNetPagerDemo/ApplyStyles/default.aspx下载后把控件拉进VS里就可以了,注意哦,VS2003是不可以用的!下面是代码: protected void Pager1... 阅读全文
posted @ 2010-05-25 15:35 smodi 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: <%@ Application Language="C#" %><script runat="server"> void Application_Start(object sender, EventArgs e) { // 在应用程序启动时运行的代码 } void Application_End(object sender, EventArgs e) { // 在应用... 阅读全文
posted @ 2010-05-25 10:07 smodi 阅读(174) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2010-05-25 08:56 smodi 阅读(200) 评论(0) 推荐(0) 编辑