摘要:
// A string array with duplicate valuesString[] data = {"A", "C", "B", "D", "A", "B", "E", "D", "B", "C"};System.out.println("Original array : " +Arrays.toString(data));//// Convert it to li 阅读全文
摘要:
oracle:select count(*) from t1,t2 where t1.col1 like '%'||t2.col||'%';(任意位置匹配)同理可有只匹配前或后的select count(*) from t1,t2 where t1.col1 like t2.col||'%';select count(*) from t1,t2 where t1.col1 like '%'||t2.col; 阅读全文
摘要:
直接控制某一列header的值,在里边嵌入html代码,加入css样式控制,如下所示。 var cm = new Ext.grid.ColumnModel([ {header:'<div style="text-align:center">编号</div>',dataIndex:'id'}, {header:'名称',dataIndex:'name'}, {header:'描述',dataIndex:'descn'} ]);有点冏 阅读全文