博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

文章分类 -  asp.net

摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> '> CR NO: ... 阅读全文

posted @ 2008-10-22 10:37 LonelyStar 阅读(102) 评论(0) 推荐(0)

摘要:原文 将更智能的 ASP.NET 文件下载体验内置到您的 Web 应用程序中 发布日期: 2006-10-30 | 更新日期: 2006-10-30 Joe Stagner 本文将介绍以下内容: • 从 ASP.NET 站点进行动态下载 ... 阅读全文

posted @ 2008-09-26 09:38 LonelyStar 阅读(184) 评论(0) 推荐(0)

摘要:HTML meta refresh 刷新与跳转(重定向)页面 refresh 属性值 -- 刷新与跳转(重定向)页面 refresh用于刷新与跳转(重定向)页面 refresh出现在http-equiv属性中,使用content属性表示刷新或跳转的开始时间与跳转的网址 引用网址:http://www.dreamdu.com/xhtml/refresh/ ref... 阅读全文

posted @ 2008-09-26 09:37 LonelyStar 阅读(176) 评论(0) 推荐(0)

摘要:原文 1.文件下载 HTTP 文件下载主要有两种方式: URL方式直接下载,优点是:占用服务器资源少,速度快;缺点是: 不能准确计量下载次数,无法防止盗链,保存在数据库中的文件无法下载,常见格式的文件如.html 直接在浏览器中打开,不能直接下载。 二进制数据流输出方式,优点是:准确计量下载次数、能防盗链、所有文件格式都能直接下载而不是打开、保存在数据库中等非文件数据能以文... 阅读全文

posted @ 2008-09-26 09:07 LonelyStar 阅读(315) 评论(0) 推荐(0)

摘要:Source 使用国外开源加压解压库ICSharpCode.SharpZipLib实现加压,该库的官方网站为 http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx 使用体验:可以照着例子实现简单的加压解压,可以加压一个文件夹中的所有文件,但没有提供加压子文件夹的说明。 目前网上的一些代码有的无法加压空文件夹,有的加压了... 阅读全文

posted @ 2008-09-25 16:11 LonelyStar 阅读(199) 评论(0) 推荐(0)

摘要:Source 阅读全文

posted @ 2008-09-25 15:13 LonelyStar 阅读(68) 评论(0) 推荐(0)

摘要:点击查看原文 在web开发中避免不了为某一html元素设置颜色属性,如 ForeColor, BackColor, BorderColor等。 1. 如果我们知道这个颜色的具体rgb值的话,可以这样得到Color实例: Dim myColor as Color = Color.FromArgb(255,0,0) 2. 或者如果我们知道颜色的名字的话, 可以这么写: Dim myCo... 阅读全文

posted @ 2008-09-24 09:54 LonelyStar 阅读(141) 评论(0) 推荐(0)

摘要:ASP.NET配置文件machine.config与性能 与传统的ASP不同的是,ASP.NET不是运行在IIS的地址空间,而是有自己的进程。该进程可以通过XML配置文件machine.config进行配置。 ASP.NET进程: aspnet_wp.exe 传统的ASP程序的内存问题或配置不当总是会导致Internet Information Server (IIS)要么停止响应,要么... 阅读全文

posted @ 2008-09-17 09:43 LonelyStar 阅读(732) 评论(0) 推荐(0)

摘要:Understanding ASP.NET Impersonation Security asp.net 用户权限 阅读全文

posted @ 2008-09-17 09:19 LonelyStar 阅读(90) 评论(0) 推荐(0)

摘要:Loading pages in IFRAME dynamically from codebehind - ASP.NET The workaround to do that is as follows:- 1. Specify the "runat=server" attribute as follows in the ASPX Page:- 2. In the codebehi... 阅读全文

posted @ 2008-09-09 09:43 LonelyStar 阅读(214) 评论(0) 推荐(0)

摘要:Source Contents Introduction Introducing Viewstate Outside the ASP.NET Context Introducing Viewstate Inside the ASP.NET Context ASP.NET Page Life Cycle Role of Viewstate in th... 阅读全文

posted @ 2008-09-05 10:50 LonelyStar 阅读(378) 评论(0) 推荐(0)

摘要:Asp.Net Interview Question Part 1 Asp.Net Interview Question Part 2 Asp.Net Interview Question Part 3 阅读全文

posted @ 2008-09-04 13:15 LonelyStar 阅读(109) 评论(0) 推荐(0)

摘要:Source Introduction This article describes the life cycle of the page from the moment the URL is hit from the web browser till the HTML code is generated and sent to the web browser. Let us start by l... 阅读全文

posted @ 2008-09-04 13:13 LonelyStar 阅读(236) 评论(0) 推荐(0)