作为一个合格的在设计数据库时,因每个字段所代表的数据含义不同,那么各个字段的长度也就不会完全相同。在PHP中,使用mysql_field_len()函数可实现PHP获取字段长度,该函数的语法格式如下:int mysql_field_len ( resource $result, int $field...
分类:
Web程序 时间:
2014-10-05 19:02:08
阅读次数:
188
今天在玩代码的时候遇到Description Resource Path Location TypeError generating final archive: Debug Certificate expired on 14-5-19 下午2:42 xxx Unknown Android Pac....
分类:
其他好文 时间:
2014-10-05 01:04:17
阅读次数:
358
ResourceBundle bundle = ResourceBundle.getBundle("cn.liuning.resource.MessageResource");bundle.getString("prompt.username")
分类:
编程语言 时间:
2014-10-04 20:28:37
阅读次数:
164
除了之前介绍的将数组数据在一个页面中输出的方法,还可以将数组数据分组,按照点击,在不同页面中分别显示,方法为:Model:例如:TableRouter:设置一个父对象和子对象设置:this.resource("tables",function() { this.resource("table",.....
分类:
Web程序 时间:
2014-10-03 21:19:35
阅读次数:
201
全称:Uniform Resource Locator 译为:统一资源定位符URL(Uniform Resoure Locator 统一资源定位器)是WWW网页的地址,好比一个街道在城市地图上地址。url使用数字和字母按一定顺序排列以确定一个地址。URL的第一个部分http://表示的是要访问的文件...
分类:
其他好文 时间:
2014-09-30 01:29:31
阅读次数:
415
setContentView和inflate区别
一般用LayoutInflater做一件事:inflate
inflate这个方法总共有四种形式(见下面),目的都是把xml表述的layout转化为View对象。
其中有一个比较常用,View inflate(int resource, ViewGroup root),另三个,其实目的和这个差不多。
int resource...
分类:
其他好文 时间:
2014-09-28 19:34:45
阅读次数:
290
我们的主题是:有些技巧你不知道不要紧,但知道后会很牛逼。假设在项目工程的Resource有好多个目录,如image,fonts,Menu,InterfaceUI,等等,而我要创建的几个精灵对应的图片分别在这几个目录里,如:auto sprite = Sprite::create("image/sp....
分类:
其他好文 时间:
2014-09-28 14:03:12
阅读次数:
110
javax.servlet
Interface Filter
public interface Filter
A filter is an object that performs filtering tasks on either the request to a resource (a servlet or static content), or on the respon...
分类:
其他好文 时间:
2014-09-27 19:23:40
阅读次数:
256
[Line 1 in XML document from class path resource [xxx.properties] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; column...
分类:
编程语言 时间:
2014-09-27 14:32:09
阅读次数:
185
select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT'declare @spid i...
分类:
数据库 时间:
2014-09-27 02:35:48
阅读次数:
203