--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
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