--1.向已有表中增加一列ALTER TABLE TableName ADD ColumnName VARCHAR(20) NULL--2.删除表中的某一列ALTER TABLE TableName DROP COLUMN ColumnName--3.修改某一列的数据类型ALTER TABLE Ta...
分类:
数据库 时间:
2014-06-28 23:00:10
阅读次数:
238
Swift中,数组Array和字典Dictionary是用结构来实现的,但是数组与字典和其它结构在进行赋值或者作为参数传递给函数的时候有一些不同。并且数组和字典的这些操作,又与Foundation中的NSArray和NSDictionary不同,它们是用类来实现的。注意:下面的小节将会介绍数组,字典...
分类:
其他好文 时间:
2014-06-18 11:11:15
阅读次数:
256
解决方法:1. 右键点击工程,选择 "Properties"2. 选择左边的 "Java Build Path"3. 打开 "Source" 标签面板4. 点击 "Add Folder..."5. 勾选 "gen" 文件夹,点击OK,点击YES,再点击OK6. 最后右键点击工程,选择 "Andrio...
分类:
其他好文 时间:
2014-06-18 11:00:21
阅读次数:
197
说到swift的集合类型,就不得不谈到Dictionary。包含一个键值对组合的集合。var air = ["name":"warner","title":"Math"]var air = Dictionary(minimumCapacity:3)都可以初始化Dictionary。在swift中,....
分类:
其他好文 时间:
2014-06-18 10:55:42
阅读次数:
192
TIWTabControl 包含的是 TIWTabPage; 设计时通过右键菜单 Add Page 添加(再给页面添加东西时一定要先选定页面); 下面例子是动态添加的.TIWTabControl 所在单元及继承链:IWCompTabControl.TIWTabControl 主要成员:propert...
分类:
Web程序 时间:
2014-06-18 10:41:37
阅读次数:
376
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-06-18 10:17:40
阅读次数:
174
lambda函数使用方法:lambda [arg1[,arg2,arg3,...,argn]] : expression如:add = lambda(x,y:x+y)add(1,2)结果为1+2=3filter函数filter(bool_func,seq)此函数的功能相当于过滤器,通过返回值为boo...
分类:
编程语言 时间:
2014-06-18 09:36:35
阅读次数:
245
magento自己带有导入导出功能
后台system-->import/export-->Advanced Profiles
进入后点击add new profiles
就可以新建一个规则了
Profile Name *是名字
Actions XML *是对应的参数
譬如例子:
file
var/import
...
分类:
其他好文 时间:
2014-06-18 08:01:20
阅读次数:
266
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-06-17 23:38:04
阅读次数:
341
可以通过哈希表实现高效的集合操作。
接口
一个集合对象可以包含了以下接口:
public interface Set> {
public void add(Key key);
public boolean contains(Key key);
public void remove(Key key);
public int siz...
分类:
其他好文 时间:
2014-06-17 22:28:05
阅读次数:
288