posted @ 2015-12-18 17:03
USID
阅读(324)
推荐(0)
摘要:
class Program { static void Main(string[] args) { string mid = ",mid"; Action anonDel = delegate (string param)...
阅读全文
posted @ 2015-09-04 21:46
USID
阅读(363)
推荐(0)
摘要:
class BubbleSorter { public static void Sort(IList sortArray, Func comparison) { bool swapped = true; do ...
阅读全文
posted @ 2015-09-04 21:20
USID
阅读(284)
推荐(0)
摘要:
public interface ITest { decimal Balance { get; } }public class Test : ITest { public Test(decimal balance) { ...
阅读全文
posted @ 2015-08-26 21:57
USID
阅读(336)
推荐(0)
摘要:
public interface IAccount { decimal Balance { get; set; } string Name { get; } }public class Account : IAccount { privat...
阅读全文
posted @ 2015-08-26 21:38
USID
阅读(498)
推荐(0)
摘要:
定义接口:public interface ITest { double GetPrice(); }某个类实现接口:public class Test1 : ITest { public double GetPrice() { ...
阅读全文
posted @ 2015-08-11 22:40
USID
阅读(262)
推荐(0)
摘要:
B继承AList list=new List();myfun(list.Cast() as List);返回值: public override List Load() { List plnTaskList = new List(); ret...
阅读全文
posted @ 2015-07-22 15:24
USID
阅读(3075)
推荐(0)
摘要:
客户要求实现对表格数据的头几行或者头几列进行冻结,即滚动时保持这几行/列不动,通过网上查找代码,参考已有的代码的思路,实现了可以任意对行、列进行冻结。实现原理:创建多个div,div之间通过css实现层叠,每个div放置当前表格的克隆。例如:需要行冻结时,创建存放冻结行表格的div,通过设置z-in...
阅读全文
posted @ 2015-04-28 15:47
USID
阅读(1482)
推荐(0)
摘要:
var tTD; //用来存储当前更改宽度的Table Cell,避免快速移动鼠标的问题 var table = document.getElementById("content");for (j = 0; j tTD.offsetWidth - 10) { tTD.mous...
阅读全文
posted @ 2015-01-14 15:53
USID
阅读(518)
推荐(0)
摘要:
1 --创建类型 2 CREATE OR REPLACE TYPE "T_LINK_LOB" AS OBJECT 3 ( 4 V_LOB CLOB, 5 STATIC FUNCTION ODCIAGGREGATEINITIALIZE(SCTX IN OUT NOCOPY T_LINK_LO...
阅读全文
posted @ 2014-12-22 10:23
USID
阅读(947)
推荐(0)