《设计模式》对状态模式的定义:同意一个对象在其状态改变时,改变它的行为。看起来对象似乎改动了它的类。别名:状态对象(Objects for
State)。在以下两种情况下均能够使用State模式:1 一个对象的行为取决于它的状态,而且他必须在执行时刻依据状态改变它的行为。2
一个操作中含有庞大的多分...
分类:
其他好文 时间:
2014-06-16 08:13:02
阅读次数:
237
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 6 namespace HotelMIS 7 { 8 public
static class D...
分类:
Web程序 时间:
2014-06-12 19:09:01
阅读次数:
238
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 6 namespace myTest 7 { 8 class
Program 9 {10...
分类:
其他好文 时间:
2014-06-12 18:22:31
阅读次数:
224
LINQ to SQL 提供了一种非常简单的方法来与 Microsoft SQL Server
数据库交互。1.创建新的 SQL Server 数据库点击”视图“-->“服务器资源管理器” ,打开 “服务器资源管理器”
窗口,如下图:右键“数据连接”,选择“创建新的SQL Server 数据库”,如...
分类:
数据库 时间:
2014-06-12 12:59:53
阅读次数:
419
usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Data;usingSystem.Data.SqlClient;usingSystem.Configuration;///<summary>///DBOperate的摘要说明///</summary>publicclassDBOperate{privatestaticSqlConnectioncon=..
分类:
数据库 时间:
2014-06-10 23:15:36
阅读次数:
314
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.IO;using System.IO.Compression;using
System.Data;namesp...
分类:
其他好文 时间:
2014-06-10 21:53:25
阅读次数:
160
In this chapter:About Scheduler Objects and
Their NamingCreating, Running, and Managing JobsCreating and Managing Programs
to Define JobsCreating and ...
分类:
数据库 时间:
2014-06-10 16:49:59
阅读次数:
518