码迷,mamicode.com
首页 >  
搜索关键字:null    ( 33914个结果
日期维度表代码
-- We should create a date dimension table in the databaseCREATE TABLE dbo.DimDates ( [DateKey] int NOT NULL PRIMARY KEY IDENTITY, [Date] datetime NO....
分类:其他好文   时间:2015-02-12 15:44:08    阅读次数:246
JavaScript技巧&写法
原文:JavaScript技巧&写法JavaScript技巧篇: 1》状态机 var state = function () { this.count = 0; this.fun = null; this.nowcount = 0; }; ...
分类:编程语言   时间:2015-02-12 15:26:01    阅读次数:192
Android:使用Canvas合并Bitmap
关键点 canvas.drawBitmap(bitmap, srcRect, dstRect, null);将bitmap的srcRect区域绘制到canvas的dstRect区域 Demo main.xml <RelativeLayout xmlns:android="http://schemas.android.com/...
分类:移动开发   时间:2015-02-12 12:31:12    阅读次数:619
Android BitmapDrawable()的使用
查看源码BitmapDrawable.java。BitmapDrawable有若干个构造方法。 New BitmapDrawable(Bitmap bitmap)是早期的一个构造方法,在android 4.0已经过时,部分代码如下: this(new BitmapState(bitmap), null); 而google提倡使用new BitmapDrawable(Bitmap ...
分类:移动开发   时间:2015-02-12 12:28:50    阅读次数:153
Linq to Sql 总生成 where ID is null 的解决办法
using (Entities com = new Entities()){com.Configuration.UseDatabaseNullSemantics = true;}EF+MVC+cod First项目性能优化总结1.EF:this.Configuration.UseDatabaseNu...
分类:数据库   时间:2015-02-12 10:41:19    阅读次数:545
C#程序员整理的Unity 3D笔记(九):Unity 3D测试浅析
Unity中的组件上的类,是不能new的,必须通过组件去获取,new出来的东西是null。   if (amainfo.nameHash == Animator.StringToHash(Base Layer.idle))   {   m_animator.SetBool(Run, true);   }   代码无法执行时,在navigation面板中点击Bake,如下图    ...
分类:编程语言   时间:2015-02-11 23:23:11    阅读次数:420
java.sql.SQLException:Column Index out of range,0<1
1、错误描述 java.sql.SQLException:Column Index out of range,0 2、错误原因 try { Class.forName("com.mysql.jdbc.Driver"); Connection conn = null; Statement stat = null; ResultSet rs = null; try {...
分类:数据库   时间:2015-02-11 21:58:43    阅读次数:177
java.sql.SQLException:Can not issue data manipulation statements with executeQuery()
1、错误描述 java.sql.SQLException:Can not issue data manipulation statements with executeQuery() 2、错误原因 Class.forName("com.mysql.jdbc.Driver"); Connection conn = null; Statement stat = null; Resul...
分类:数据库   时间:2015-02-11 21:58:22    阅读次数:175
java.sql.SQLException:No suitable driver found for http://localhost:3306/school
1、错误描述 java.sql.SQLException:No suitable driver found for http://localhost:3306/school 2、错误原因 Class.forName("com.mysql.jdbc.Driver"); Connection conn = null; Statement stat = null; ResultSet ...
分类:数据库   时间:2015-02-11 21:58:19    阅读次数:237
window.opener=null 不需确认就能关闭窗口
在我最近做的项目里有一个小问题.需求上是写生成一条URL可以给用户访问,到达网站特定的内容.并不难.但在访问到的页面上有一个关闭按钮.一按关闭按钮就会出现一个"您所访问的窗口正试图关闭"的确认对话框.在GOOGLE上搜索了一下.看到了这么一行JS代码.window.opener=null;windo...
分类:Windows程序   时间:2015-02-11 20:25:07    阅读次数:237
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!