导出数据mysqldump --opt -hlocalhost -uusername -ppassword --skip-lock-tables databasename>database.sql 导入数据mysql> source 路径\**.sql创建中文名称数据库mysql> set n...
分类:
数据库 时间:
2014-07-22 22:53:56
阅读次数:
274
集训第一场 B题dfs简单题 做完这题就撤,回来再继续做吧= = 水手加油~ 1 #include 2 #include 3 4 int Count; 5 int to[4][2] = {{-1,0},{1,0},{0,1},{0,-1}}; 6 int row,col; 7 char room[....
分类:
其他好文 时间:
2014-07-19 21:04:34
阅读次数:
172
集训第一场,A题dfs简单题之前看过dfs,没实现过,第一次实现出来O(∩_∩)O~水手加油~ 1 #include 2 #include 3 using namespace std; 4 int row,col; 5 char oil[1000][1000]; 6 int to[8][2]={{-...
分类:
其他好文 时间:
2014-07-19 20:26:21
阅读次数:
190
在ext grid 中如何确定选中行?如何获取选中行数据?其实很简单,用到了Ext.getCmp('id'),他可以获取到指定id的对象。grid 获取行对象:var row = Ext.getCmp("Grid_ID").getSelectionModel().getSelections();ro...
分类:
其他好文 时间:
2014-07-18 20:30:01
阅读次数:
150
锁应该说是由关系型数据库ACID(Atomicity,Consistency,Isolation,Durability)特性而引出的。以下将测试在创建及更新表过程中SQL Server锁资源分配情况获取当前会话的事务隔离级别:DBCC USEROPTIONS测试环境:SQL SERVER 2008 ...
分类:
数据库 时间:
2014-07-18 20:07:52
阅读次数:
359
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-07-17 14:03:41
阅读次数:
293
分类目录 {dede:channel type='top' row='8' currentstyle="~typename~ "} [field:typename/] ([field:id runphp='yes']global $dsql;$sql='SE...
分类:
其他好文 时间:
2014-07-16 18:42:47
阅读次数:
206
1e.Row.RowType == DataControlRowType.DataRow的意思e.Row.RowType 是指当前行的类型DataControlRowType 是GridView的行的类型集合 其中的DataRow是数据绑定行这个判断语句的意思就是判断当前行是不是数据绑定行2这个.....
分类:
其他好文 时间:
2014-07-16 17:50:06
阅读次数:
211
1.封装Mutex1.1 封装前先总结一下常用的mutex操作有:pthread_mutex_init(&mutex, NULL ); //初始化一个互斥锁pthread_mutex_destroy(&mutex); //销毁一个互斥锁pthread_mutex_lock(&mutex); //上锁...
分类:
编程语言 时间:
2014-07-16 17:41:55
阅读次数:
242
protected void WriteLog(string message) { lock (lockObject) { var file = System.IO.File.AppendText...
分类:
编程语言 时间:
2014-07-16 13:51:46
阅读次数:
213