摘要: public sealed class EncryptUtils { #region Base64加密解密 /// /// Base64加密 /// /// 需要加密的字符串 /// pub... 阅读全文
posted @ 2015-11-17 18:14 melody&bobo 阅读(202) 评论(0) 推荐(0) 编辑
摘要: USE mastergoIF EXISTS ( SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[P_KillConnections]') ... 阅读全文
posted @ 2015-11-17 14:44 melody&bobo 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 本地化过程中涉及到源文件和目标文件的传输问题,这时候编码就显得很重要。中文的网页和操作系统中通常采用ANSI编码,这也是微软OS的一个字符标准。对于ANSI,不同的国家和地区制定了不同的标准,由此产生了GB2312(简体中文),BIG5(繁体中文),JIS(日文)等各自的编码标准。但不同的ANSI编... 阅读全文
posted @ 2012-09-18 15:06 melody&bobo 阅读(4746) 评论(0) 推荐(0) 编辑
摘要: {LPCTSTRfilename=_T("D:\\1.bmp");CPrintDialogprintDlg(FALSE);printDlg.GetDefaults();//Orgetfromuser://if(printDlg.DoModal()==IDCANCEL)//return;CDCdc;... 阅读全文
posted @ 2012-05-14 15:14 melody&bobo 阅读(1074) 评论(0) 推荐(0) 编辑
摘要: 最强的windows2003安全设置系统:windows2003 服务:[IIS] [SERV-U] [IMAIL] [SQL SERVER 2000] [PHP] [MYSQL] 描述:为了演示,绑定了最多的服务.大家可以根据实际情况做筛减 1、WINDOWS本地安全策略 端口限制 A.对于我们... 阅读全文
posted @ 2012-01-03 16:43 melody&bobo 阅读(659) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.IO;usingSystem.Drawing;usingSystem.Drawing.Imaging;publicpartialclass_2Stream:System.Web.UI.Page{protectedvoidPage_Load(objec... 阅读全文
posted @ 2011-10-25 11:53 melody&bobo 阅读(392) 评论(0) 推荐(0) 编辑
摘要: "-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">"http://www.w3.org/1999/xhtml">"Head1"runat="server">"... 阅读全文
posted @ 2011-10-20 11:19 melody&bobo 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1,先到Oracle网站下载Instant Client : http://www.oracle.com/technology/global/cn/software/tech/oci/instantclient/index.html 根据你的操作系统选择不同的Instant Client版本 下载回... 阅读全文
posted @ 2011-10-19 17:42 melody&bobo 阅读(698) 评论(0) 推荐(1) 编辑
摘要: SELECTTOP100[AverageCPUused]=total_worker_time/qs.execution_count/1000000,[TotalCPUused]=total_worker_time/1000000,[Executioncount]=qs.execution_coun... 阅读全文
posted @ 2011-10-10 17:28 melody&bobo 阅读(212) 评论(0) 推荐(0) 编辑
摘要: SSIS表达式1.计算某个字符串中,某个子字符串出现的次数Liang.liang.liang.liang 字符串中”.”出现的次数设字符串变量为v_str SQL code LEN(@[用户::v_str])-(LEN(REPLACE(@[用户::v_str],".",""))/LEN("... 阅读全文
posted @ 2011-09-02 16:58 melody&bobo 阅读(521) 评论(0) 推荐(0) 编辑