技不如人

Welcome to Rickel's blog.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  01.C# & .NET

Records of my work
摘要:本文适用场景: TFS服务器从一个域迁到别一个域中,这里包括服务器加入新域、服务运行账号改为新域的中账号,机器名称不改变。本文在TFS单机部署场景测试通过。迁移步骤: 1. 停止服务器上的TFS服务。 a) 在IIS上停上TFS App Pool和Report Server Pool。 b) 停止Reporting Service服务。2. 将服务器加入新的域。3. 修改服务账号。 a) 检查新账... 阅读全文

posted @ 2008-01-23 19:59 Rickel 阅读(685) 评论(0) 推荐(0)

摘要:URL 重写是截取传入 Web 请求并自动将请求重定向到其他 URL 的过程。 比如浏览器发来请求hostname/101.aspx ,服务器自动将这个请求中定向为http://hostname/list.aspx?id=101。url重写的优点在于: 缩短url,隐藏实际路径提高安全性 易于用户记忆和键入。 易于被搜索引擎收录二 实现url重写的基本方法下载MS的URLRewriter.dll... 阅读全文

posted @ 2007-02-04 16:39 Rickel 阅读(24086) 评论(19) 推荐(3)

摘要:转自:http://hi.baidu.com/zhaoyf/blog/item/06d6b812175371cec2fd7812.html高品质,就是指定Graphic的InterpolationMode属性为HighQualityBicubicCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.Co... 阅读全文

posted @ 2007-02-04 16:02 Rickel 阅读(543) 评论(0) 推荐(0)

摘要:假定用户控件(UserControl.ascx)中包含按钮控件AButton,希望实现按AButton按钮时,包含该用户控件的页面可以接收到事件。为此,在用户控件和页面的代码中分别作了处理。 UserControl.ascx.cs中的处理: 1. 定义public的事件委托,如ClickEventHandler; 2. 在UserControl类中声明事件... 阅读全文

posted @ 2006-02-23 01:27 Rickel 阅读(397) 评论(0) 推荐(0)

摘要:To deploy your application, you need to create a setup project and add the necessary merge modules to your application before you build your solution. Open your Web or Web Services application. In... 阅读全文

posted @ 2005-11-23 12:56 Rickel 阅读(516) 评论(0) 推荐(0)

摘要:using System;using System.Reflection;using System.Runtime.CompilerServices;using System.Runtime.InteropServices;using System.Security.Permissions;#region General information[assembly: AssemblyTitle("... 阅读全文

posted @ 2005-07-08 16:58 Rickel 阅读(528) 评论(1) 推荐(0)

摘要:错误信息:A first chance exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll 阅读全文

posted @ 2005-06-13 11:44 Rickel 阅读(742) 评论(1) 推荐(0)

摘要:trim相关的一些函数..有些许用处 阅读全文

posted @ 2005-05-08 11:32 Rickel 阅读(17605) 评论(4) 推荐(0)

摘要:在一个RowFilter过的dataview中增加一行 阅读全文

posted @ 2005-04-28 14:16 Rickel 阅读(1596) 评论(2) 推荐(0)

摘要:A good way to concatenate strings in a loop or when performing multiple concatenations, is to use the StringBuilder class 阅读全文

posted @ 2005-04-28 13:31 Rickel 阅读(402) 评论(0) 推荐(0)

摘要:由于在每个系统中都会带有这两个配置文件中的一个,所以把一些需要的配置信息放在这里里面是非常有效的,既不需要产生新的自定义配置文件,又能达到效果。 实现方式: C# 有Configuration类来读取config中的节点,但是只提供直接读取AppSetting的方法(这个是特殊方法),其它的节点只能通过GetConfig()来获取. 阅读全文

posted @ 2005-04-22 16:30 Rickel 阅读(3546) 评论(1) 推荐(0)

摘要:• 概要 • Web 应用程序示例 • 概述 • 生成数据集 • 将数据集转换为 Excel XML • 将转换后的 XML 保存成文件(可选) • 注解 • 参考 阅读全文

posted @ 2005-01-21 14:55 Rickel 阅读(1297) 评论(2) 推荐(0)

摘要:最近在做项目的时候经常遇到要合并单元格的情况,发现这个东西.net中并没有现成的方法,研究了一下,总结了两种方法。 这个主要都是行合并的,有两种情况... 阅读全文

posted @ 2005-01-18 08:46 Rickel 阅读(4155) 评论(4) 推荐(0)

摘要:MailMessage message = new MailMessage(); message.BodyFormat = MailFormat.Html; message.To = "abc@bac.com"; message.Subject = "SMTP Mail Test"; message.BodyEncoding = System.Text.E... 阅读全文

posted @ 2005-01-17 08:39 Rickel 阅读(529) 评论(0) 推荐(0)