project---->properties--->Libraries--->JRE
System Library--->Access rules--->Edit--->Add--->Rule Paern
写上**或者1.Openprojectproperties.2.SelectJavaBuild...
分类:
其他好文 时间:
2014-06-29 13:02:49
阅读次数:
323
1.更改数据库版本号(每次更新都一定要进行版本的升级)
2.更新语句一条一条写,不能并列写
例如:
public void onUpgrade(SQLiteDatabase db, int arg1, int arg2) {
db.execSQL("alter table users add userage integer;alter table users add usersalary ...
分类:
数据库 时间:
2014-06-20 11:43:30
阅读次数:
268
#include#include#include#includeusing namespace
std;int n,m;#include#define N 8200int e[N],v[N],ne[N];int nn;void add(int x,int
y){ ne[++nn]=e[x],e[.....
分类:
其他好文 时间:
2014-06-07 11:31:42
阅读次数:
201
1、删除列:Alter Table TransBetRecord drop column
ToProjectCode2、添加列:Alter Table TransBetRecord Add ToProjectCode varchar(50)
default null
分类:
数据库 时间:
2014-06-07 11:09:50
阅读次数:
237
Dim lb As New Label lb.Text = "hello" lb.Top = 200
lb.Left = 100 Me.Controls.Add(lb)
public bool BackupAA() { int temp = 0; int tempdel
= 0; string sql = "INSERT INTO [WMSBAK].[dbo].[AACopy] SELECT * FROM
[TestDB].[dbo].[AA] WHERE Add....
分类:
其他好文 时间:
2014-06-07 09:46:26
阅读次数:
150
我在cmake编译后想执行一些特定的shell命令(执行、lcov收集代码覆盖报告等),我又不想写到XX.sh的shell脚本中,如何直接通过CMake执行shell命令呢?在网上翻江倒海了一下,找到了一个老外写的cmake脚本,参考他,自己写了下,终于实现了我的目标,主要是用ADD_CUSTOM_...
分类:
其他好文 时间:
2014-06-07 08:12:11
阅读次数:
754
无论是DATE还是timestamp都可以进行加减操作。可以对当前日期加年、月、日、时、分、秒,操作不同的时间类型,有三种方法:1
使用内置函数numtodsinterval增加小时,分钟和秒2 加一个简单的数来增加天3
使用内置函数add_months来增加年和月例:对当前日期增加一个小时:SQL...
分类:
数据库 时间:
2014-06-07 07:46:17
阅读次数:
221
在声明公共变量的位置加上这句就可以了Dim WithEvents NewButton As
Buttonform_load中添加NewButton = New Button NewButton.Text = "close"
Me.Controls.Add(NewButton)调用事件: Privat...
分类:
其他好文 时间:
2014-06-07 07:06:56
阅读次数:
202
Given two binary strings, return their sum
(also a binary string).For example,a ="11"b ="1"Return"100".public class
Solution { /**The program is us...
分类:
其他好文 时间:
2014-06-05 14:08:35
阅读次数:
188