随笔分类 - 学习笔记
摘要:MVC文档:http://www.eice.com.cn/AspnetMvcPreview4.ashx
阅读全文
摘要:使用 ipconfig /all 查看配置 使用 ipconfig /renew 刷新配置 使 用 ipconfig 管理 DNS 和 DHCP 类别 ID 使用 Ping 测试连接 使用 Arp 解决硬件地址问题 使 用 nbtstat 解决 NetBIOS 名称问题 使用 netstat 显示连接统计 使用 tracert 跟踪网络连接 使 用 pathping 测试路由器 使用 ipconf...
阅读全文
摘要:先记下MSDN的地址http://msdn.microsoft.com/zh-cn/library/bb456468(en-us,VS.85).aspx#_sidebar_basic_example
阅读全文
摘要:01set ANSI_NULLS ON02set QUOTED_IDENTIFIER ON03go0405/* 06功能描述: 通用分页显示查询 07如果有自增标识字段,在@strGetFields中不要加入此字 段信息, 08如果非要加入的话,要 (fldName + 0) AS fldName 这样处理; 09输入参数: 10@tblName: 表名 11@strGetFields: 需要返...
阅读全文
摘要:第一:打开tcp/ip协议服务第二:添加防火墙中对sqlservr.exe 的访问例外, C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe第三:添加放火墙中对sqlbrowser.exe的访问例外 ,C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrow...
阅读全文
摘要:80端口被占用,一般迅雷以及server-u会占用,只要更改他们的监听端口就可以了
阅读全文
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicstringdvbbsPasswordEncrypt(stringPassword){byte[]data=ConvertUTF8ToGB2312(Password);MD5md5=MD5...
阅读全文
摘要:格式字符 说明和关联属性 c、C 货币格式。 CurrencyNegativePattern, CurrencyPositivePattern, CurrencySymbol, CurrencyGroupSizes, CurrencyGroupSeparator, CurrencyDecimalDigits, CurrencyDecimalSeparator. d、D 十进制格式。 e...
阅读全文
摘要:using Image = System.Drawing.Image; 在Page_Load里调用下面代码,然后直接调用这个页面的url就是生成的图片了. Image image = Image.FromFile(Server.MapPath("~/background.png")); Graphics g = Graphics.FromImage(image); try { /// //...
阅读全文
摘要:Web.Config <globalization responseEncoding="gb2312"/> CS文件 using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls...
阅读全文
摘要:string week = DateTime.Today.ToString("yyyy年MM月dd日 dddd", new System.Globalization.CultureInfo("zh-CN"));
阅读全文
摘要:日复一日的编写代码,有没有感到审美疲劳?也许些许的改变就能让我们感到生活更美好。 换一种编程字体吧!体验一种新的代码感觉。 下面我眼中的十大编程字体: 10. Courier 基本上所有的系统都自带了此种字体,有时候它又以Courier New的名字出现。不幸的是很多终端和编辑器都默认使用此种字体,虽然这不会影响使用,但这会影响心情,它太枯燥了。以前看到这样一句评论:久不见牡丹会 以仙人掌为...
阅读全文
摘要:Upgrading to IIS 7 should be rather transparent, unfortunately that is not the case when it comes to URL rewriting as we knew it from IIS 6. In IIS 6 all we had to do was to add a wildcard mapping mak...
阅读全文
摘要:People often ask me for guidance on how they can dynamically "re-write" URLs and/or have the ability to publish cleaner URL end-points within their ASP.NET web applications. This blog post summarizes ...
阅读全文
摘要:http://open-open.com/
阅读全文
摘要:一、URL Rewrite URL Rewrite是截取传入Web 请求并自动将请求重定向到其他URL的过程。 比如浏览器发来请求hostname/101.aspx ,服务器自动将这个请求中定向为http://hostname/list.aspx?id=101。 URL Rewrite的优点在于: 1. 缩短URL,隐藏实际路径提高安全性 2. 易于用户记忆和键入 3. 易于被搜索引擎收录 有很多...
阅读全文
摘要:起因:最近看CMS,为了适应极度变态的需求~~直接贴图:源代码:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSy...
阅读全文
摘要:先贴上我的代码 protected override void OnPreRender(EventArgs e) { if(ViewState [isShowCategoryAppendSection ]!=null&&(bool)ViewState [isShowCategoryAppendSection ]==true) UIList.Controls.Add(LoadCont...
阅读全文
摘要:运行Clone Detective 分析时出错,因为ConQAT是个java项目,CD用它来分析代码的,所以必须安装jre。安装好jre后将其java home目录,也就是bin目录拷贝到CD的设置里就好了。
阅读全文
摘要:来自: blog.bingo929.com 今天是2008年的最后一天,彬Go为大家奉上今年的最后大餐,这篇文章将为大家总结08年国外一些比较不错的前端开发相关的教程、技巧、脚本、实例及工具资源等,有一些是曾经彬Go发表过的翻译文章。实在是丰盛的需要消化很久…无论您是刚入门的前端开发菜鸟,还是有多年前端开发经验的高手,我相信下面的这些日志总会有您需要的! 工具&Web应用 13个可能会...
阅读全文