自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 ASP.NET自定义控件复杂属性声明持久性浅析

在自定义控件的开发过程中,我们经常要给控件添加一些复杂类型的属性。利用声明持久性(DeclarativePersistence)可使得页面开发人员能够让页面开发人员在ASP.NET页面中,声明性地设置这些复杂属性值,而无需编写任何C#或者VB.NET代码。参见下面的例子:GridView的DataKeyNames属性,其数据类型是string[]:

2008-09-16 15:21:00 983

原创 JS字符串转义

小问题,怎么都记不住,每次都解决,每次都会重新遇到,现在人老了,果然记性不好了。火大~~~ 贴个代码就是script.alert 中转义问题,每次我都是用一个/来转义,忘记嵌套两层,我帮scriptManager.Regsister...... 放在了BasePage里面,嵌套两层的话,会丢失一层/,所以要在第一层用两个/来转义, 既是 使用 “  //    ”,不然总是会报“什么什么少一个括

2008-09-05 10:59:00 2351

原创 gridview中使用edit命令显示EditItemTemplateColumn,绑定Listbox的值问题

页面代码 "Tasks">                 "lbTasksToRole" runat="server"  DataSourceID="sdsTasks" DataTextField="name" DataValueField="id" SelectionMode="Multiple">           "hfTasksToRole" runat="server" Value=

2008-09-04 15:24:00 2338 1

转载 asp.net页面回传与js调用服务端事件、PostBack的原理详解(转)

Asp.net中服务端控件事件是如何触发的Asp.net 中在客户端触发服务器端事件分为两种情况:一.   WebControls中的Button 和HtmlControls中的Type为submit的HtmlInputButton这两种按钮最终到客户端的表现形式为:input type="submit" value="Submit">,这是Form表单的提交按钮,点击以后会作为参数发

2008-09-04 11:32:00 1268 1

转载 数据绑定时format

"Start Date" SortExpression="start_time" >                                                                                    "ucDatetimeStartDateItem" runat="server" Width="100px" Text=/>          

2008-09-02 14:25:00 950

毕马威:《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关注的人

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