摘要: 发表时间:2007-6-25 17:37:00 function ReplaceQueryString(url,paramName,newValue) { var preUrl = ''; var paramUrl = ''; if(url.indexOf('?') != -1) { if(url.toLowerCase().indexOf(paramName.toLowerCas... 阅读全文
posted @ 2009-04-29 15:19 袁晓平 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 发表时间:2007-6-28 9:12:00 /// /// 单表分页 /// /// 查询条件 /// 排序字段 /// 是否顺序 /// 每页数据条数 /// 页索引(0开始) /// 总记录条数(传入值小于0时返回) /// p... 阅读全文
posted @ 2009-04-29 15:18 袁晓平 阅读(201) 评论(1) 推荐(0) 编辑
摘要: 发表时间:2007-7-3 14:41:00 WebService方法代码: [WebMethod] public string HelloWorld() { System.Threading.Thread.Sleep(3000); return "Hello World"; } 调用wsdl ****.asmx /o:d:"ServiceA.cs 生成WebService代理类,... 阅读全文
posted @ 2009-04-29 15:17 袁晓平 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 发表时间:2007-7-3 17:01:00 FlatEdit.h ======================================================== #pragma once #include "afxwin.h" class CFlatEdit : public CEdit { public: CFlatEdit(void); public: ~CFlatEd... 阅读全文
posted @ 2009-04-29 15:16 袁晓平 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 发表时间:2007-7-3 17:11:00 XPButton.h =================================================== #if !defined(AFX_XPBUTTON_H__44CD5B2A_756E_4939_9261_E0034E0F2DEF__INCLUDED_) #define AFX_XPBUTTON_H__44CD5B2A_756... 阅读全文
posted @ 2009-04-29 15:15 袁晓平 阅读(1394) 评论(0) 推荐(0) 编辑
摘要: 发表时间:2007-7-11 15:49:00 /^(""""[^""]+"")|([A-Za-z]:"")([^""]+"")*([^".]+".)+[^".]+$/img.test(str) 阅读全文
posted @ 2009-04-29 15:11 袁晓平 阅读(1415) 评论(0) 推荐(0) 编辑
摘要: 发表时间:2007-8-7 13:21:00 /****************************************************************************** * Copyright (C) 2000 by Robert Hubley. * * All rights re... 阅读全文
posted @ 2009-04-29 15:10 袁晓平 阅读(856) 评论(0) 推荐(0) 编辑
摘要: 发表时间:2007-8-7 13:22:00 /****************************************************************************** * Copyright (C) 2000 by Robert Hubley. * * All rights rese... 阅读全文
posted @ 2009-04-29 15:09 袁晓平 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 发表时间:2007-8-7 13:23:00 extern "C" __declspec(dllexport) const char* Encrypt(TCHAR* paras) { MD5_CTX md5; md5.MD5Update((unsigned char*)paras, strlen(paras)); //如果数据比较大,调用多次update unsigned cha... 阅读全文
posted @ 2009-04-29 15:09 袁晓平 阅读(627) 评论(0) 推荐(0) 编辑
摘要: 发表时间:2007-8-29 12:52:00 using System; using System.Collections.Generic; using System.Text; using System.Security.Cryptography; using System.IO; namespace ConsoleApplication1 { class Des { ... 阅读全文
posted @ 2009-04-29 15:07 袁晓平 阅读(199) 评论(0) 推荐(0) 编辑