摘要: 给自己的代码优化一下function Dream_Ajax(url, parms, fuSuccess, fuError, isAsync, isPost, retrueType) { /// Ajax自定义请求 /// 请求url /// 参数 /// 请求成功 //... 阅读全文
posted @ 2014-06-05 00:07 Blue_Dream 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 做开发时,积累很重要,每天总是写同样的东西会很烦人的事,所以有空的时候花一点时间来整理代码。 public class ExcelImport { Thread thread = null; /// <summary> /// 此用于生成Excel /// </summary> public ExcelImport() { thread=new Thread(new ThreadStart(createExcel)); } #region 生成Exe... 阅读全文
posted @ 2013-06-11 13:06 Blue_Dream 阅读(188) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2013-05-22 13:17 Blue_Dream 阅读(27) 评论(0) 推荐(0) 编辑
摘要: select dm as 数值取整前,CEILING(dm) as 数值取整后 from table CEILING() 向上取整如1.2 取整后为2。select dm as 数值取整前,FLOOR(dm) as 数值取整后 from table FLOOR() 向下取整如r1... 阅读全文
posted @ 2013-05-21 13:09 Blue_Dream 阅读(129) 评论(0) 推荐(0) 编辑
摘要: int [] arr=new int[]{n}for(int outer=0; outer<arr.length;outer++) { for(int inn=outer+1;inn<arr.length;inn++) { if(arr[outer]>arr[inn]) { arr[outer]=arr[outer]+arr[inn]; arr[inn]=arr[outer]-arr[inn]; arr[outer]=arr[outer]-arr[inn]; } } } 阅读全文
posted @ 2013-04-15 23:24 Blue_Dream 阅读(95) 评论(0) 推荐(0) 编辑
摘要: sql查询数据插入别一张表中第一种方法:Btable 作为插入数据表,Atable是数据源表,Btable表在插入之前必须存在insert into Btable select 列1,列2 from Atable 或insert into Btable(列1,列2...) select 列1,列2... from Atable第二种方法:Btable 作为插入数据表,Atable是数据源表,Btable表在查询之前没有存在select 列1,列2,... intoBtable from Table_1 Atable2013/03/28 20:58:47 阅读全文
posted @ 2013-03-28 20:59 Blue_Dream 阅读(242) 评论(0) 推荐(0) 编辑