摘要: 1、group by统计合并 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->select [UserName], sum([上传图片]) as [上传图片], sum([添加分享]) as [添加分享], sum([上传... 阅读全文
posted @ 2009-06-02 13:36 chenjunbiao 阅读(337) 评论(0) 推荐(0)
摘要: 通过实现IFormatProvider, ICustomFormatter接口可以实现自定义的格式输现,这里有实现一个例子,以输出日期格式为例(显示今天、明天、后天和"x月x日"等) 1、假设我们有多种显示日期格式的需求,我们可以定义一个枚举如下: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.... 阅读全文
posted @ 2009-06-02 13:24 chenjunbiao 阅读(401) 评论(0) 推荐(0)