//导入importjava.util.Date;importjava.text.DateFormat;importjava.text.SimpleDateFormat;Datedt=newDate();//如果不需要格式,可直接用dt,dt就是当前系统时间DateFormatdf=newSimpl...
分类:
编程语言 时间:
2015-01-29 17:24:52
阅读次数:
175
- (void)inviteBtnMethod{ NSLog(@"inviteBtnMethod %@",myInviteCode.text); // [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms:"]]....
分类:
移动开发 时间:
2015-01-29 17:21:59
阅读次数:
176
CSS书写顺序1.位置属性(position, top, right, z-index, display, float等)2.大小(width, height, padding, margin)3.文字系列(font, line-height, letter-spacing, color- text...
分类:
Web程序 时间:
2015-01-29 17:16:40
阅读次数:
303
1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using System.Data; 5 6 using System.Configuration; 7 using ...
分类:
数据库 时间:
2015-01-29 17:12:00
阅读次数:
300
.graph { width: 400px; height: 25px; border: 1px solid #f8b3d0; }.bar { background-color: #ffe7f4; display: block; float: left; height: 100%; text-ali...
分类:
Web程序 时间:
2015-01-29 15:55:13
阅读次数:
169
<html?xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta?http-equiv="Content-Type"?content="text/html;?charset=gb2312"?/>
<script?src="jquery-2.0.3.min.js"?type="text/javascript"></script>
...
分类:
Web程序 时间:
2015-01-29 12:53:51
阅读次数:
141
在使用zend studio的过程中为了方便我们编码,很多时候需要设置编码的字体的大小,设置步骤如下:选择【Windows】-【preference】-【general】-【appearance】-【colors and fonts】选择【basic】-【text font】然后来进行设置。
分类:
其他好文 时间:
2015-01-29 12:14:34
阅读次数:
222
在mac下不是很喜欢sublime text 2 总是在新窗口中打开文件,很麻烦,文件打多了,就会出现N多窗口,虽然可以直接打开当前目录可以解决,但有时候查看其它项目中的单个文件,就比较麻烦。百度一直在搜索,无果。今天去官方论坛看了一下,发现了一个设置:”open_files_in_new_wind...
分类:
其他好文 时间:
2015-01-29 12:07:14
阅读次数:
139
在加载一个项目的过程中很时候会因为字符集的不匹配从而导致项目文件显示为乱码,zend studio开发工具应该如何设置字符集呢:打开【windows】-【preference】-【workspace】将“text file encoding”选项选择为项目需要的字符集类型,点击【apply】-【ok...
分类:
其他好文 时间:
2015-01-29 11:54:26
阅读次数:
171
5.2 通用的数据操作方式—数据库说到数据的存取,数据库肯定是一个常用的解决方案。Android中也有它自己的数据库,下面我们来看看Android中的数据库与一般的数据库有什么不一样的地方。5.2.1SQLite数据库介绍目前在Android系统中集成的是SQLite3版本,它支持SQL语句,它是一个轻量级的嵌入式数据库。SQLite支持NULL、INTEGER、REAL、TEXT和BLOB数据类...
分类:
其他好文 时间:
2015-01-29 10:30:20
阅读次数:
159