摘要:文章出处:http://asp.net/ajax/documentation/live/tutorials/TimerControlTutorials.aspx Introduction The topics in this section provide examples of using the Timer control on an ASP.NET Web page to refresh ...
阅读全文
随笔分类 - 学点C#
摘要:文章出处:http://asp.net/ajax/documentation/live/overview/UsingTimerControlTutorial.aspx Introduction The Timer control performs postbacks at defined intervals. If you use the Timer control with an Updat...
阅读全文
摘要:文章出处:http://asp.net/ajax/documentation/live/tutorials/UpdateProgressTutorials.aspx Introduction The topics in this section provide examples of using the UpdateProgress control to display status duri...
阅读全文
摘要:文章出处:http://asp.net/ajax/documentation/live/overview/UpdateProgressOverview.aspx Introduction The UpdateProgress control provides status information about partial-page updates in UpdatePanel control...
阅读全文
摘要:文章出处: http://asp.net/ajax/documentation/live/tutorials/UpdatePanelTutorials.aspx Introduction The topics in this section provide examples of how to use the UpdatePanel control to enable partial-page r...
阅读全文
摘要:文章出处:http://asp.net/ajax/documentation/live/overview/UpdatePanelOverview.aspx Introduction ASP.NET UpdatePanel controls enable you to build rich, client-centric Web applications. By using UpdatePane...
阅读全文
摘要:文章出处:http://asp.net/AJAX/Documentation/Live/tutorials/IntroToTimerControl.aspx Introduction In this tutorial you will update part of a Web page at a timed interval by using three Microsoft ASP.NET 2...
阅读全文
摘要:文章出处:http://asp.net/AJAX/Documentation/Live/tutorials/IntroductionUpdateProgress.aspx Introduction In this tutorial you will use UpdateProgress controls to display the progress of partial-page updat...
阅读全文
摘要:文章出处:http://asp.net/AJAX/Documentation/Live/tutorials/IntroductionUpdatePanel.aspx Introduction In this tutorial you will add partial-page update support to a Web page by using two Microsoft ASP.NET...
阅读全文
摘要:文章出处:http://asp.net/AJAX/Documentation/Live/tutorials/CreateSimpleAJAXApplication.aspx Introduction This tutorial creates a basic sample application that uses features of Microsoft ASP.NET AJAX. You...
阅读全文
摘要:文章出处:http://asp.net/AJAX/Documentation/Live/InstallingASPNETAJAX.aspx Introduction This topic describes how to install Microsoft ASP.NET AJAX. It also describes how to install the optional ASP.NET 2...
阅读全文
摘要:文章出处:http://asp.net/AJAX/Documentation/Live/overview/default.aspx ASP.NET AJAX Overview Introduction Microsoft ASP.NET AJAX enables you to quickly create Web pages that include a rich user experien...
阅读全文
摘要:概述 在软件系统中,有时候面临着“一个复杂对象”的创建工作,其通常由各个部分的子对象用一定的算法构成;由于需求的变化,这个复杂对象的各个部分经常面临着剧烈的变化,但是将它们组合在一起的算法确相对稳定。如何应对这种变化?如何提供一种“封装机制”来隔离出“复杂对象的各个部分”的变化,从而保持系统中的“稳定构建算法”不随着需求改变而改变?这就是要说的建造者模式。 本文通过现实生活中的买KFC的例子,用图...
阅读全文
摘要:概述 在软件系统中,经常面临着“一系列相互依赖的对象”的创建工作;同时由于需求的变化,往往存在着更多系列对象的创建工作。如何应对这种变化?如何绕过常规的对象的创建方法(new),提供一种“封装机制”来避免客户程序和这种“多系列具体对象创建工作”的紧耦合?这就是我们要说的抽象工厂模式。 意图 提供一个创建一系列相关或相互依赖对象的接口,而无需指定它们具体的类。 模型图 逻辑模型: 物理模型: 生...
阅读全文
摘要:概述 Singleton模式要求一个类有且仅有一个实例,并且提供了一个全局的访问点。这就提出了一个问题:如何绕过常规的构造器,提供一种机制来保证一个类只有一个实例?客户程序在调用某一个类时,它是不会考虑这个类是否只能有一个实例等问题的,所以,这应该是类设计者的责任,而不是类使用者的责任。 从另一个角度来说,Singleton模式其实也是一种职责型模式。因为我们创建了一个对象,这个对象扮演了独一...
阅读全文
摘要:一、单一职责原则(SRP)一个类应该仅有一个引起它变化的原因。二、 "开放-封闭"原则(OCP) Open-Closed Principle原则讲的是:一个软件实体应当对扩展开放,对修改关闭。 优点: 通过扩展已有软件系统,可以提供新的行为,以满足对软件的新的需求,使变化中的软件有一定的适应性和灵活性。 已有软件模块,特别是最重要的抽象层模块不能再修改,这使变化中的软件系统有一定...
阅读全文
摘要:一、数据库Test, 表:create table Customers ( CustId int IDENTITY(1,1) primary key, CustName varchar(20) not null, Address varchar(50), Linkman varchar(20) ) //insert into Cusomer...
阅读全文

浙公网安备 33010602011771号