自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 资源 (19)
  • 收藏
  • 关注

原创 sql server常用函数(面试必背!)

1,统计函数 avg, count, max, min, sum 多数聚会不统计值为null的行。可以与distinct一起使用去掉重复的行。可以与group by 来分组 2, 数学函数 SQRT ceiling(n) 返回大于或者等于n的最小整数 floor(n), 返回小于或者是等于n的最大整数 round(m,n), 四舍五入,n是保留小数的位数 abs(n) sig

2007-11-30 10:06:00 676

转载 Sql Server 2005新特性《3》

业系统互通。    XML 数据类型    XML能够比SQL Server所支持的那些标量数据类型更好的对复杂数据进行建模。基于字符串的内置数据类型char 或者是varchar并不能够充分有效的利用XML数据的大量优点。举例来说,如果XML被存储为一个字符串,那么你可以插入或检索整个XML文档,甚至能够从中检索连续的字符,但你不能定位查询文档中内容。通过XML数据类型,SQL Server 2

2007-11-29 22:21:00 612

转载 SQL Server 2005新特性《4》

的用户群体延伸至那些需要使用分析功能的商务用户。Reporting Services 是一种企业级报表环境,它通过 web 服务进行报表嵌入和管理。您可以用大量的交互和打印选项,以各种不同的格式个性化设置和提交报告。通过将报告以数据源的形式分发至下游商务智能,复杂分析可以覆盖更广泛的受众。SQL Server 2005 还提供了新的报表工具: Report Builder。  管理:SQL Ser

2007-11-29 22:21:00 654

转载 Sql Server 2005新特性《2》

以利用多种他们熟悉的语言来开放数据库应用程序,包括: Transact-SQL, Microsoft Visual Basic? .NET, Microsoft Visual C#? .NET。此外,通过使用用户定义类型和函数,CLR集成也为开发人员提供了更多的灵活性。 CLR 为快速数据库应用开放提供了使用第三方代码的选择。    CLR/.NET Framework 集成    随着Micro

2007-11-29 22:18:00 537

转载 Sql Server 2005新特性《1》

一、企业级数据管理    在当今的互联世界中,数据和管理数据的系统必须始终为用户可用且能够确保安全,有了SQL Server 2005,组织内的用户和IT专家将从减少应用程序宕机时间、提高可伸缩性及性能、更紧密的安全控制中获益。SQL Server 2005 也包括了很多新的和改进的功能来帮助企业的IT团队更有效率的工作。SQL Server 2005 包括了几个在企业级数据管理中关键的增强:  

2007-11-29 22:14:00 815

转载 创建有root和子节点的IDictionary object

    IDictionary   rootMap   =   new   Hashtable();     IList   items   =   new   ArrayList();     IDictionary   itemMap   =   null;     rootMap.Add("items",   items);     rootMap   =   new   Has

2007-11-23 16:34:00 596

原创 如何写GetInstance()

class   A         {           private   static   A   a=null;           private   A()             {               }           public     A   GetInstance()             {

2007-11-23 16:08:00 931

转载 Avoiding configuration pitfalls with incompatible copies of Enterprise Library

When you install Enterprise Library 3.0, you actually get two distinct copies of the library. One copy is in the form of pre-compiled binaries - by default these get installed to "C:/Program Files/M

2007-11-22 13:09:00 780

转载 Exception Handling using Enterprise Library

 Introduction:Every now and then we need to catch exceptions and perform actions on that exceptions. If you have noticed there is always a common pattern in handling exceptions and than recoveri

2007-11-19 11:58:00 744

转载 Enterprise Library: Exception Handling Application Block类设计分析

Exception Handling Application Block设计用来完成企业级应用程序各层中异常处理。***Exception Handling Application Block依赖项Enterprise Library中的所有Application Blocks设计用于相互联合使用。有时,有些Application Blocks依赖于其他Enterprise Libra

2007-11-19 11:09:00 1107

转载 (创建型模式)Singleton 单件模式

Singleton模 式要求一个类有且仅有一个实例,并且提供一个全局的访问点。这就提出了一个问题:如何绕过常规的构造器,提供一种机制来保证一个类只有一个实例?客户程序 在调用某一个类时,它是不会考虑这个类是否只能有一个实例等问题的,所以,这应该是类设计者的责任,而不是类使用者的责任。从另一个角度来说,Singleton模式其实也是一种职责模式。因为我们创建了一个对象,这个对象扮演了独一无二的角

2007-11-19 10:49:00 598

转载 Sql server中的Cursor

有时候我们需要逐条地读取数据,就像下面这样:this.sqlConnection1.Open();SqlDataReader myReader = this.sqlCommand1.ExecuteReader();do{while (myReader.Read())      {Console.WriteLine(" {0} {1}", myReader.GetInt32(0), myRe

2007-11-14 13:32:00 2779

原创 视图view和临时表的区别

 视图只是一条预编译的SQL语句,并不保存实际数据       临时表是保存在tempdb中的实际的表(物理空间的分配不一样,视图不分配空间,   临时表会分配空间 )

2007-11-14 10:44:00 2820

原创 不创建表结构,直接放入临时表结果(包括存储过程,直接sql语句)

首先介绍一下临时表的分类:临时表有两种    1,加#只有该会话可见,并且该会话结束后SQL   SERVER自动删除    2,加##全局。所有会话结束后SQL   SERVER   删除它  全局临时表   ##tablename   可以由任何进程访问。    所以要在asp中使用临时表,就要使用全局临时表,把你的存储过程中的局部临时表改成全局就可以。但临时表确实存在生存周期短的问题

2007-11-14 10:40:00 5904

转载 带#的临时表和带@的表有什么区别

以下为代码部分: declare @test table(id int , name varchar(10)) create table #test(id int , name varchar(10)) @test也算是临时表吗,和#test有什么区别 我发现的一点是@test不能在上面建索引而#test能

2007-11-14 10:31:00 1082

原创 exec stored procedure return value

本文很简单,在实际操作中发现我定义了一个变量,然后存在一个stored procedure可以返回一个数值,我想把这个数值存放到我定义的变量中。然后再baidu里面搜索了,找了10分钟都没有找到结果,可能是太简单了大家不想写吧。希望我写出来,以后方便更多的后来者能很方便的搜索到DECLARE @variable INTEXEC @variable = PRINT @variable

2007-11-13 15:46:00 869

原创 什么叫强类型

强/弱类型是指类型检查的严格程度的。语言有无类型,弱类型和强类型三种。无类型的不检查,甚至不区分指令和数据。弱类型的检查很弱,仅能严格的区分指令和数据。强类型的则严格的在编译期进行检查List 泛型类:表示可通过索引访问的对象的强类型列表。提供用于对列表进行搜索、排序和操作的方法。举个例子比如javascript定义一个对象时是这样定义的var str;str=as

2007-11-11 11:27:00 1132

转载 How To: Use Windows Authentication in ASP.NET 2.0

 SummaryThis How To shows you how to configure and use Windows authentication in an ASP.NET Web application. It also shows various impersonation options available with Windows authentication and h

2007-11-09 16:56:00 1790

原创 web.config authentication

ASP.NET 提供了一些新型的Authentication 和 Authorization 方案,对于开发人员来说这将是和以前不同的一种方式。 可喜的是ASP.NET提供的方案多样更加灵活;可惜的是这种方案是基于IIS的。我知道,有些人并不喜欢IIS,认为它容易受攻击。只是一直不喜欢 ASP的方式,杂乱的HTML标记中夹杂着代码,难于维护也难于调试。现在有了新的解决方案,让我们看看。    新型

2007-11-09 11:39:00 6410 1

毕马威:《2023年中国便利店发展报告》(pdf下载)

毕马威:《2023年中国便利店发展报告》(pdf下载)

2024-02-21

毕马威:《零售及消费品行业:变革、转型与突破》系统报告之八

毕马威:《零售及消费品行业:变革、转型与突破》系统报告之八

2024-02-21

毕马威:中国经济观察:2023年四季度(pdf下载)

毕马威:中国经济观察:2023年四季度(pdf下载)

2024-02-21

毕马威:2024中国消费50白皮书报告(第三届)(130页).pdf

第三届消费50 榜单企业评选范围为新经济周期中深得消费者喜爱并实现韧性增长的消费品及零售行业企业,包括但不限于个护/ 美妆、便利店、咖啡、宠物、家居生活、康养/ 健身、服装配饰、母婴、综合食品、连锁餐厅、预制菜/ 烘焙、饮料/ 乳品以及服务提供商等行业企业。 通过对第三届毕马威消费50 企业的调研分析,我们发现企业愈发注重数字化转型及消费者需求,并在相关领域积累了成功实践。 数字化贯穿运营管理六大创新维度 更多企业将以消费者为核心的运营管理提升至战略高度

2024-02-21

Market Risk Analysis Volume I

Market Risk Analysis 一共四卷,这里提供第一卷, 理论知识, 先读2,3,4,中间需要结合1 来消化 不要看完就还给作者了

2016-04-13

S60 手机证书 制作软件(自己动手不用申请)

S60 手机证书 制作软件(自己动手不用申请) 自己搞,秒做!

2009-10-09

vs2008,VSTS压力测试报告-分析方法

vs2008,VSTS压力测试报告-分析方法 紧跟着上面一个资源,如何手把手教你如何用vs2008做压力测试,性能测试。

2009-07-01

VS2008,VSTS,做压力测试,性能分析

个人收集整理,且中文。国内最全指导书 是doc文档,清晰明了。 手把手教你如何用vs2008做压力测试,并行测试。 第二部分送上分析报告分析方法。

2009-07-01

【经典】VS2008 柔黑色底主题,保护眼睛主题

淡黑色底(纯白,纯黑都伤眼睛) MS的Consale字体,最柔和字体和规范字体 颜色不是过于鲜艳,确对比度比较强烈, 在柔和的环境中创造轻松的变成环境 主柔黑色theme.

2009-07-01

EditPlus 3.1 最新cd-key

EditPlus 3.1 最新cd-key

2009-05-20

sharePoint安装完全手册

sharePoint安装完全手册 sharePoint安装完全手册 sharePoint安装完全手册 sharePoint安装完全手册 sharePoint安装完全手册

2008-10-28

Refactoring: Improving the Design of Existing Code

Refactoring: Improving the Design of Existing Code Martin Fowler Kent Beck John Brant William Opdyke Don Roberts Publisher: Addison Wesley First Edition June 11, 1999 ISBN: 0-201-485672, 464 pages

2008-10-28

Unit Testing with Mock Objects

Abstract Unit testing is a fundamental practice in Extreme Programming, but most non-trivial code is difficult to test in isolation. It is hard to avoid writing test suites that are complex, incomplete, and difficult to maintain and interpret. Using Mock Objects for unit testing improves both domain code and test suites. They allow unit tests to be written for everything, simplify test structure, and avoid polluting domain code with testing infrastructure. Keywords: Extreme Programming, Unit Testing, Mock Objects, Stubs 1 Introduction “Once,” said the Mock Turtle at last, with a deep sigh, “I was a real Turtle.” (Alice In Wonderland, Lewis Carroll)

2008-10-28

CodertoDeveloper--Tools and Strategies for Delivering Your Software

Table of Contents Coder to Developer—Tools and Strategies for Delivering Your Software Foreword Introduction Chapter 1 - Planning Your Project Chapter 2 - Organizing Your Project Chapter 3 - Using Source Code Control Effectively Chapter 4 - Coding Defensively Chapter 5 - Preventing Bugs with Unit Testing Chapter 6 - Pumping Up the IDE Chapter 7 - Digging Into Source Code Chapter 8 - Generating Code Chapter 9 - Tracking and Squashing Bugs Chapter 10 - Logging Application Activity Chapter 11 - Working with Small Teams Chapter 12 - Creating Documentation Chapter 13 - Mastering the Build Process Chapter 14 - Protecting Your Intellectual Property Chapter 15 - Delivering the Application Index List of Figures List of Tables List of Technology Traps List of Sidebars

2008-10-28

MVP由浅入深(2)

在译文中,作者使用了Northwind数据库的Customer表来作为范例,这个表包含了太多的字段,而且字段类型缺乏变化,只有一个自定义的Country类型,其余均为String类型。这样容易让大家忽视掉MVP模式需要注意的一点,或者说是优势之一:视图部分,通常也就是一个Aspx页面,向用户显示的数据类型只有一种可能,就是字符串。即便你想向用户显示一个数字,比如金额,在显示之前,也会要么显式、要么隐式地转换为了字符串类型;而对象的字段类型却可能是多种多样的。所以,View的接口定义只包含String类型的Set属性,而实际将各种类型向String类型转换的工作,全部在提供器中完成。通过这样的方式,页面的CodeBehind将进一步简洁,连格式转换都移到了单独的提供器类中了。如果上面的加粗的字体你一时不能领悟也不要紧,一点点看下去你自然会明白。

2008-10-28

MVP由浅入深(1)

随着像Asp.Net和Windows窗体这样的用户界面创建技术越来越强大,让用户界面层做多于它本应做的事是很常见的。没有一个清晰的职责划分,UI层经常沦为一个包含实际上应属于程序其他层的逻辑的容器。有一个称为 模型(Model)-视图(View)-提供器(Presenter)(MVP)的设计模式,特别适合解决这个问题。为了表明我的观点,我将为Northwind数据库中的客户建一个遵循MVP模式的显示屏幕(display screen)。

2008-10-28

ASP.Net 面试必背程序,98%通吃所有编程题

ASP.Net 面试必背程序,98%通吃所有编程题

2008-01-17

万能日期正则表达式 (适用于各种日期样式)绝对经典

万能日期正则表达式 (适用于各种日期样式)适用于yyyy(或yy)-(或空格)MM(或MMM,比如Jan,Feb..) dd HH:mm:ss(后面还可以选择性显示时间)顺序也可以是各式各样的可以月份提前 MM(MMM)-dd-yyyy(yy) MM(MMM) dd yyyy(yy)也可以日期提前 dd-MM(MMM)-yyyy(yy) dd MM(MMM) yyyy(yy)位置随便你改变,中间的连接符平常用的是'-'和' '想显示时间就显示时间使用方法:方法GenerateDateTimeReg(string formateType)中传入一个datetime的formate格式,后面的工作就等着取Reg正则表达式吧。哈哈用的话直接用,如果想测试正确性,把返回的Reg字符串里面的“\\”改成“\”就可以了,原因就不说了,只要你编程过应该就知道。

2008-01-10

Using Assemblies in Microsoft .NET and C# Using Assemblies in Microsoft .NET and C#

1. Introduction<br><br>Summary<br>Scope<br><br>2. Setup of the .NET Framework<br><br>Microsoft .NET Framework Software Development Kit<br><br>3. Assemblies<br><br>Direct Use of DLLs<br>Private Assemblies<br>Global Assemblies<br>Compile/Link Cycle<br>View Assemblies - The Intermediate Language Disassembler (ILDASM)<br><br>4. Sample Application<br><br>Steps<br>App.cs<br>Hello.cs<br>GoodBye.cs<br>HowDoYouDo.cs<br>Compile Classes to DLLs - The CSharp Compiler (CSC)<br>Group DLLs in a Private Assembly - The Assembly Linker (AL)<br><br>5. Create Global Assembly<br><br>Generate Key File - The Strong Name Utility (SN)<br>Version Control and Linking<br>Load into Assembly Cache - The Global Assembly Cache Utility (GACUTIL)<br><br>6. Compile and Run Executable (EXE)<br><br>Reference Private and Global Assemblies<br>Add DLLs Directly and Reference Global Assemblies<br>Run it<br><br>7. Loading DLLs on Demand<br><br>Start Debugger<br>List Modules<br><br>8. Step into Private Assemblies<br><br>Private Assemblies are Referencing DLLs<br>Version Control and Signing<br>Correct Version Required<br>Recognition of Tampered Files<br><br>9. Step into Global Assemblies<br><br>Delete Locally Compiled Global Assemblies<br>Remove Assembly from GAC<br>Check Public Key Token<br><br>10. Version Global Assemblies<br><br>Attributes<br>Compile/Link and Load into GAC<br>Same Name but Different Versions<br>Correct Version Required<br><br>11. Appendix<br><br>Commandfile to Build Sample Application<br>Download Sources

2007-11-22

如何用C#在VS2005中创建自己的Exception详解

如何用C#在VS2005中创建自己的Exception详解

2007-11-22

Using Assemblies in Microsoft .NET and C#

1. Introduction <br><br>Summary<br>Scope <br><br>2. Setup of the .NET Framework <br><br>Microsoft .NET Framework Software Development Kit <br><br>3. Assemblies <br><br>Direct Use of DLLs<br>Private Assemblies<br>Global Assemblies<br>Compile/Link Cycle<br>View Assemblies - The Intermediate Language Disassembler (ILDASM) <br><br>4. Sample Application <br><br>Steps<br>App.cs<br>Hello.cs<br>GoodBye.cs<br>HowDoYouDo.cs<br>Compile Classes to DLLs - The CSharp Compiler (CSC)<br>Group DLLs in a Private Assembly - The Assembly Linker (AL) <br><br>5. Create Global Assembly <br><br>Generate Key File - The Strong Name Utility (SN)<br>Version Control and Linking<br>Load into Assembly Cache - The Global Assembly Cache Utility (GACUTIL) <br><br>6. Compile and Run Executable (EXE) <br><br>Reference Private and Global Assemblies<br>Add DLLs Directly and Reference Global Assemblies<br>Run it <br><br>7. Loading DLLs on Demand <br><br>Start Debugger<br>List Modules <br><br>8. Step into Private Assemblies <br><br>Private Assemblies are Referencing DLLs<br>Version Control and Signing<br>Correct Version Required<br>Recognition of Tampered Files <br><br>9. Step into Global Assemblies <br><br>Delete Locally Compiled Global Assemblies<br>Remove Assembly from GAC<br>Check Public Key Token <br><br>10. Version Global Assemblies <br><br>Attributes<br>Compile/Link and Load into GAC<br>Same Name but Different Versions<br>Correct Version Required <br><br>11. Appendix <br><br>Commandfile to Build Sample Application<br>Download Sources <br><br>

2007-11-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除