上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: public class Money { /// /// 要转换的数字 /// private double j; private string m_pb; /// /// ... 阅读全文
posted @ 2014-06-03 11:02 偶不是大叔 阅读(370) 评论(0) 推荐(0) 编辑
摘要: function compareDate(startDate, endDate) { var arr = startDate.split("-"); var starttime = new Date(arr[0], arr[... 阅读全文
posted @ 2014-04-24 16:17 偶不是大叔 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 合并竖着的单元格Range rangeLecture = worksheet.get_Range(worksheet.Cells[1, 1], worksheet.Cells[2, 1]); rangeLecture.Application.DisplayAl... 阅读全文
posted @ 2014-04-15 16:35 偶不是大叔 阅读(15974) 评论(5) 推荐(0) 编辑
摘要: 网摘:http://www.cnblogs.com/SeraphWU/articles/2110720.html没事在搞SL,部署在本地的IIS7里以后,结果不能访问承载SL的.aspx页面,而如果用.html承载则可以访问。亲测可用修复办法:进入CMD 输入如下命令即可"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe" -iru -enable 阅读全文
posted @ 2014-03-25 20:34 偶不是大叔 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 网摘DELIMITER $$CREATE DEFINER=`root`@`%` PROCEDURE `sp_pament_TrainFee`()BEGIN/*局部变量的定义 declare*/declare strYear int;declare strEnrollID int;declare feesum int;declare stop int default 0;declare cur cursor for(select year ,EnrollID ,sum(Fee) from trainmanage where ReturnStatus !=1 group by Year,Enr.. 阅读全文
posted @ 2014-03-05 17:29 偶不是大叔 阅读(26927) 评论(0) 推荐(1) 编辑
摘要: 1.FIND_IN_SET 获取某个字符串在另一个以‘,’隔开的字符串中的位置使用示例:select FIND_IN_SET('198', '198,23') 返回值:12.group_concat 将某列的数据组合成字符串表employeeID Name120 小刘119 小张使用示例:select group_concat(Name) from employee where id in (120,119) 返回值为:小张,小刘 阅读全文
posted @ 2014-02-27 16:42 偶不是大叔 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 网摘ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL server解决方法:1。 改表法。可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,从"localhost"改称"%"mysql -u root -pvmwaremysql>use my 阅读全文
posted @ 2014-01-17 10:29 偶不是大叔 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 执行下面的sqlSET SQL_SAFE_UPDATES=0 阅读全文
posted @ 2014-01-10 13:48 偶不是大叔 阅读(497) 评论(0) 推荐(0) 编辑
摘要: sql:insert openrowset( 'SQLOLEDB ', '101.110.0.104'; 'sa'; '1234',ccport.dbo.SYSTEM_CODELIST) select * from openrowset( 'SQLOLEDB ', '101.110.0.101'; 'sa'; '1234',CRMBusiness.dbo.SYSTEM_CODELIST) 注意:表结构必须相同 阅读全文
posted @ 2013-11-26 10:00 偶不是大叔 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 解决方案:由于删除sheet会弹出一个是否删除的对话框,因此需要将该对话框去掉。C# //建立一个Excel.Application的新进程 Microsoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.Application();Workbooks workbooks = app.Workbooks; string syspath = string.Empty;syspath = System.Web.HttpContext.Current.Server.MapPath("\\ 阅读全文
posted @ 2013-11-18 11:26 偶不是大叔 阅读(3423) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页