`
文章列表
<span class="button-blue" style="float: right;"> <div> <span style="float:left">这里是span</span> <div style=" margin-left:200px"><img src="你的图片路径"/></div> </div> 如果非要用margin的话  就把里面div的style换成margin-left: ...

启动DB2

    博客分类:
  • DB2
db2cmd 跑到db2目录下执行命令。 CONNECT TO MTPDB; ALTER TABLE schema.table ADD COLUMN DFT_STIBO_PRO_EST DOUBLE; ALTER TABLE schema.table ADD COLUMN DFT_TRANS_LAY_EST DOUBLE; REORG TABLE schema.table ; UPDATE schema.table SET DFT_STIBO_PRO_EST = 0.0 WHERE name='Client Presentation'; CONNECT RESET;
mtpGrid.formatCheckBox = function(gridId, radio) { return function(inDatum, rowIndex) { var checks = eval(gridId+'.checks'); return '<input type="'+(radio?'radio':'checkBox')+'" name="'+gridId+'.checkBox" id="' +gridId+'.'+inDatum+'" '+ (checks[inDatum]!=null? ...

加server runtime

1java build path- add library--server runtime--- 2 target runtimes

团购网

http://www.yijia.com/tuangou/shanghai/ http://www.meituan.com/shanghai
进行数据插入时,出现SQLCODE=-803, SQLSTATE=23505错误,(db2数据库)。 根据错误代码中提示,应该是id有了唯一性约束的问题,最后将当前insert语句放在db2中执行后,仍有此问题,因此断定id字段有问题。由于id字段是自增字段,在网上查了相关信息,有实例说明是因为在id字段不小心将其设置为唯一性约束。当然在本机上绝不是这种情况,于是想到的可能性是开发人员之前在数据库中自定义的给了id固定值,导致默认值和此固定值之间冲突。 解决方法:alter table student alter ID restart with xxxx 。xxxx可以自定义,为当前表中id ...
【1、最基本的弹出窗口代码】      <SCRIPT LANGUAGE="javascript">   <!--   window.open ('page.html')   -->   </SCRIPT>      因为着是一段javascripts代码,所以它们应该放在<SCRIPT LANGUAGE="javascript&q ...
dojo.fromJson Parses a JSON string to return a JavaScript object. var json = '{"a":"one","b":3,"c":true}'; var obj = dojo.fromJson(json); console.log(obj.a, obj.b, obj.c); >>> one 3 true dojo.toJson Returns a JSON serialization of an object. // a si ...
7 、xml to json < a class="array">    < e type="function" params="i,j">        return matrix[i][j];     < /e>  < /a>     < a class="array">       < e type="function" params="i,j">           return matrix[i] ...
6  json to xml   1) JSONObject json = new JSONObject( true );   String xml = XMLSerializer.write( json );  < o class="object" null="true">    2) JSONObject json = JSONObject.fromObject("{"name":"json","bool":true,"int":1}");  ...
5、String to bean     String json = "{name="json",bool:true,int:1,double:2.2,func:function(a){ return a; },array:[1,2]}";           JSONObject jsonObject = JSONObject.fromString(json);           Object bean = JSONObject.toBean( jsonObject );             assertEquals( jsonObject.get ...
3、BEAN             JSONObject jsonObject = JSONObject.fromObject( new JsonBean() );           System.out.println( jsonObject );           //{"func1":function(i){ return this.options[i]; },"pojoId":1,"name":"json","options":["a","f" ...
2、Map  Map map = new HashMap();        map.put( "name", "json" );        map.put( "bool", Boolean.TRUE );             map.put( "int", new Integer(1) );        map.put( "arr", new String[]{"a","b"} );        map.put( "func" ...
JSON-lib这个Java类包用于把bean,map和XML转换成JSON并能够把JSON转回成bean和DynaBean。   下载地址:http://json-lib.sourceforge.net/   还要须要的第3方包:   org.apache.commons(3.2以上版本)   org.apache.oro   net.sf.ezmorph(ezmorph-1.0.4.jar)   nu.xom   1、List boolean[] boolArray = new boolean[]{true,false,true};         JSONArray jsonArray1  ...
dojo part: userInfo.registerOrUpdateUser = function(formID, isNewOrUpdate) {     var isSendNotification = dojo.byId('userReg.sendNotification').checked; var action = "";     if (isNewOrUpdate == 'new') {     action = "mngrUserActionBean.registerUser";     } else if (is ...
Global site tag (gtag.js) - Google Analytics