摘要:
css 1 <style type="text/css"> 2 body { 3 margin: 0; 4 padding: 0; 5 background-color: #FAFAFA; 6 font: 12pt "Tahoma"; 7 } 8 9 * { 10 box-sizing: borde 阅读全文
摘要:
1 /// <summary> 2 /// xml字符串转xml文档 忽略注释信息 3 /// </summary> 4 /// <param name="sXml">xml字符串</param> 5 /// <returns></returns> 6 public XmlDocument XmlF 阅读全文
摘要:
代码: 1 public class ModelConverHelper<T> where T : new() 2 { 3 public static List<T> ConvertToModelList(DataTable dt) 4 { 5 List<T> ts = new List<T>(); 阅读全文
摘要:
html片段 1 <table id="menuview" style="width:100%"> 2 <thead> 3 <tr> 4 <th field="ID0" width="5%" fixed="true" checkbox="true"></th> 5 <th field="TOPIC" 阅读全文
摘要:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing opt 阅读全文
摘要:
use master; go declare @temp nvarchar(20) declare myCurse cursor for select spid from sys.sysprocesses where dbid=DB_ID('数据库名称')--待清理的数据库 open myCurse 阅读全文
摘要:
--SQL Server死锁的查询方法: exec master.dbo.p_lockinfo 0,0; 显示死锁的进程,不显示正常的进程 exec master.dbo.p_lockinfo 1,0; 杀死死锁的进程,不显示正常的进程 --master数据库中创建如下存储过程 create pro 阅读全文
摘要:
--创建存储过程 create procedure [dbo].[updateMuLuBeiZu] AS Declare @archgid VARCHAR(1000), @bz VARCHAR(max), @strSql nvarchar(max) begin Declare curStudentF 阅读全文
摘要:
原型模式(Prototype):用原型实例指向创建类对象,使用于创建新对象的类共享原型对象的属性以及方法。 原型继承 原型模式更多的是用在对象的创建上。比如创建一个实例对象的构造函数比较复杂,或者耗时比较长,或者通过创建多个对象来实现。此时我们最好不要用new关键字去复制这些基类,但可以通过对这些对 阅读全文