--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
Due to IE10 published, I’ll conclude the methods that how to add trust sites in to IE of the version before IE10. General, there are three methods to ...
分类:
其他好文 时间:
2014-06-28 21:33:51
阅读次数:
1028
private List GetOrganiztions(){var organizations = new List();organizations.Add(new Model.Organization.Organization{Id = "1",Name = "一汽",});organizati...
分类:
Web程序 时间:
2014-06-28 20:19:29
阅读次数:
230
Interlockedsimplearithmetic operations are not atomic.Interlocked类提供了一个专门的机制用于完成这些特定的操作。这个类提供了Increment、Decrement、Add静态方法用于对int或long型变量的递增、递减或相加操作Inte...
分类:
其他好文 时间:
2014-06-21 12:06:35
阅读次数:
320
Enable-Migrations启用Migration数据迁移Add-Migration migrationname添加一个migrationUpdate-Database –TargetMigration:migrationname 回滚到指定数据库Update-Database –Verbos...
分类:
其他好文 时间:
2014-06-21 11:29:54
阅读次数:
214
按值传递地址传递:应该明白只有这2种传递,下面讨论函数的按值传递#include #include int add_rtVal(int a,int b){ int c = 0; c = a + b; return c;}int main(int argc,char* argv[])...
分类:
编程语言 时间:
2014-06-21 09:28:38
阅读次数:
267
定义:提供一种方法访问一个容器对象中各个元素,而又不暴露该对象的内部细节。类型:行为类模式类图: 1 public static void main(String[] args) { 2 List list = new ArrayList(); 3 list.add(...
分类:
编程语言 时间:
2014-06-21 08:21:07
阅读次数:
230
ADD>UPD>LIS>DEL> 这里主要使用了二进制的方法 这是一种思路,所以定义常量的时候 必须是2的N次方才行。<?phpdefine('ADD', 1); //1 转化二进制define('UPD', 2); //10define('LIS', 4); //100define('DEL...
分类:
Web程序 时间:
2014-06-21 06:27:51
阅读次数:
326
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