一:截图二:代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;using Syste...
分类:
其他好文 时间:
2014-06-02 10:11:09
阅读次数:
314
一:使用ChineseLunisolarCalendar
对象由年份获得生肖名,截图二:代码using System;using System.Collections.Generic;using
System.ComponentModel;using System.Data;using System...
分类:
其他好文 时间:
2014-06-02 09:48:09
阅读次数:
174
using System;using System.Data;using
System.Configuration;using System.Collections;using System.Web;using
System.Web.Security;using System.Web.UI;usin...
分类:
Web程序 时间:
2014-06-02 09:44:06
阅读次数:
237
using System;using
System.Collections.Generic;using System.Linq;using System.Web;using
System.Web.UI;using System.Web.UI.WebControls;//http://msdn.mic...
分类:
Web程序 时间:
2014-06-02 09:33:11
阅读次数:
402
一:DateTime.IsLeapYear 方法判断是否是闰年,截图二:代码using
System;using System.Collections.Generic;using System.ComponentModel;using
System.Data;using System.Drawing...
分类:
其他好文 时间:
2014-06-02 09:25:59
阅读次数:
220
借助Chosen Plugin可以实现多选下拉框。 选择多项:
设置选项数量,比如设置最多允许2个选项: 考虑到多选下拉选中项是string数组,Model应该这样设计: using
System.Collections.Generic;using System.Web.Mvc;namespace ...
分类:
Web程序 时间:
2014-06-02 08:21:31
阅读次数:
337
Sort ListSort a linked list inO(nlogn) time
using constant space
complexity.要求时间复杂度为O(nlogn),那么不能用quickSort了(最坏O(n^2)),所以使用mergeSort.通常写排序算法都是基于数组的,这题...
分类:
其他好文 时间:
2014-06-02 06:29:51
阅读次数:
192
《GC资源管理器》
官方文档:administrator’s Guide->24 Using the Database Resource Manager
使用率:在实际生产环境中使用的比较少
作用:限制数据库资源的使用,CPU 内存 undo表空间 IO session
场合:当有多个应用使用一个数据库并且资源紧张时可用“资源管理器”调节
实现:可用GC完成也可用EM完成,还可...
分类:
数据库 时间:
2014-06-01 18:17:01
阅读次数:
417
Divide two integers without using multiplication, division and mod operator.
不使用乘法、除法和求模运算求两个数相除。...
分类:
其他好文 时间:
2014-06-01 18:16:23
阅读次数:
311
单一模式的几个注意点:
一) 设计单一模式,首先需要把构造函数给私有化了,不让外界访问,那么外界只能通过提供的函数获取一个新的类。
二) C++的单一模式,记得要在类外初始化一个类,否则或内存出错的。
三) 这个唯一的类必须是要静态的
程序:
#ifndef _SINGLETON_H
#define _SINGLETON_H
#include
#include
using...
分类:
其他好文 时间:
2014-06-01 18:09:44
阅读次数:
371