摘要: 通过使页面动态加载不同CSS实现多界面 方法一: ========================================== 通过动态设置页面所有同类型控件的样式来该变界面: 方法二: 可以通过改变WEB控件的CssClass属性,可方便地设置和修改控件的样式。 但在实际开发过程中,一个个地设置控件的CssClass属性,非常繁琐,所以此思路应用不广. 但下面的代码段演示了一次性改变... 阅读全文
posted @ 2009-04-03 17:03 arangly 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 首先下载Ajax.Net,你可以从这里获得。最新版本是6.4.15.1,下载解压后的文件夹中有个AjaxPro.2.dll,就是它了。使用VS2005新建web项目(注意,AjaxPro.2.dll不支持VS2003),并添加对AjaxPro.2.dll的引用,然后在Web配置文件中添加: 这个配置项表明所有的ajaxpro/*.a... 阅读全文
posted @ 2009-04-03 16:48 arangly 阅读(484) 评论(0) 推荐(0) 编辑
摘要: public class ValidateCode : System.Web.UI.Page { private void Page_Load(object sender, System.EventArgs e) { this.CreateCheckCodeImage(GenerateCheckCode()); } private string GenerateCheckCode(... 阅读全文
posted @ 2009-04-03 16:47 arangly 阅读(308) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Text;namespace PetShop.Web.WebComponents{ /// /// A sample class to clean the input into web pages /// public sealed class CleanString { public static stri... 阅读全文
posted @ 2009-04-03 16:46 arangly 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 70个流行的Ajax应用演示和源码下载,包含了:Greybox,Lightbox,Thickbox等,内容丰富,是不可多得的学习研究资料啊,很多东西可以直接拿来使用,是充分发挥拿来主义的时候。Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX microlink pattern tutorial : A mi... 阅读全文
posted @ 2009-04-03 16:44 arangly 阅读(264) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Security.Cryptography; namespace trips{ static class CryptClass { public enum HashType : int { ... 阅读全文
posted @ 2009-04-03 16:43 arangly 阅读(304) 评论(0) 推荐(0) 编辑
摘要: VS2005.NET SP1下载地址:sp1英文版补丁 431M 中文版补丁sp1已经集成了 VS 2005 Web Application Project 安装前,需先卸载以前安装的补丁!或重新安装VS2005! 一些安装技巧: 禁用Patch Cache。reg export HKLM\Software\Policies\Microsoft\Windows\Installer installe... 阅读全文
posted @ 2009-04-03 16:42 arangly 阅读(461) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using ... 阅读全文
posted @ 2009-04-03 16:41 arangly 阅读(394) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using ... 阅读全文
posted @ 2009-04-03 16:40 arangly 阅读(218) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using ... 阅读全文
posted @ 2009-04-03 16:39 arangly 阅读(190) 评论(0) 推荐(0) 编辑
摘要: .net framework 所提供的开发控件也太少了,也太难看了,自已画又费时费力也不见得会得出个什么好的效果。如果能够上我们的程序运行在XP环境中能自动应用XP的主题样式那就省时多了,让MICROSOFT给我们去画控件!以下是我所所试验过的解决办法: 1.Application.EnableVisualStyles方法(只适和.NET 1.1及以后版本支持) 在Main方法中执行Applica... 阅读全文
posted @ 2009-04-03 16:38 arangly 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 类说明#region 类说明//-----------------------------------------------------------------------------//// 项目名称:***// 文件名称:DBBakManager.cs// 文件说明:对数据库备份文件进行管理。提供备份、还原、备份文件管理操作。//// 开始日期:2007年04月04日// 开发人员:***/... 阅读全文
posted @ 2009-04-03 16:30 arangly 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 本文介绍了C#的四种排序算法:冒泡排序、选择排序、插入排序和希尔排序 冒泡排序 using System; namespace BubbleSorter { public class BubbleSorter { public void Sort(int [] list) { int i,j,temp; bool done=false; j=1; while((j<list.Length)... 阅读全文
posted @ 2009-04-03 16:21 arangly 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 用XML文件记录配置信息时,有时候不希望别人看到配置信息的内容.怎么才能实现呢.这里介绍几种常见的加密和解密算法.这些算法Framework已经封装好了.我们不用理会具体的实现,只需要会用就行.下面给出一个源程序供大家参考.using System;using System.Security.Cryptography;using System.IO;using System.Text; names... 阅读全文
posted @ 2009-04-03 16:20 arangly 阅读(414) 评论(0) 推荐(0) 编辑
摘要: Shift+Alt+Enter: 切换全屏编辑Ctrl+B,T / Ctrl+K,K: 切换书签开关Ctrl+B,N / Ctrl+K,N: 移动到下一书签Ctrl+B,P: 移动到上一书签Ctrl+B,C: 清除全部标签Ctrl+I: 渐进式搜索Ctrl+Shift+I: 反向渐进式搜索Ctrl+F: 查找Ctrl+Shift+F: 在文件中查找F3: 查找下一个Shift+F3: 查找上一个C... 阅读全文
posted @ 2009-04-03 16:18 arangly 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Help Authoring Tool (HAT) - Word to Web help creator and Word to CHM help maker - Macrobject Software http://www.macrobject.cn/cn/products.htm Word-2-CHM 转换专家 2008 Word-2-CHM 转换专家是一款从 ... 阅读全文
posted @ 2009-04-03 15:41 arangly 阅读(1179) 评论(1) 推荐(0) 编辑
摘要: 刘谦-男人必学的魔术 不只见证奇蹟,更要传授奇蹟!史上最畅销的魔术师作家刘谦,亲自情境教学!找出属于你的神秘感,“变”出你的异性缘! PDF文档(彩色图文)下载地址 http://www.rayfile.com/files/cd1b8a57-1cba-11de-a11c-0014221b798a/ 豆丁网在线阅读地址 http://www.docin.com/... 阅读全文
posted @ 2009-04-03 15:15 arangly 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Code Smith 国外最著名的商业代码生成器官方网站: http://www.codesmithtools.com / MyGeneratoe 国外最著名的免费代码生成器官方网站: http://www.mygenerationsoftware.com/portal/default.aspx 湛蓝.Net代码生成器 国内功能最完善的免费代码生成器官方连接: http://www.dot... 阅读全文
posted @ 2009-04-03 14:43 arangly 阅读(2547) 评论(2) 推荐(0) 编辑