摘要:
BaseDAO.cs using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; using System.Xml; using Beyondbit.OADoc.Common; namespace Beyondbit.OADo... 阅读全文
posted @ 2009-04-29 15:54
袁晓平
阅读(933)
评论(2)
推荐(0)
摘要:
我妈:四月二十七 我爸:八月初三 她妈:三月十九 她爸:正月初四 阅读全文
posted @ 2009-04-29 15:41
袁晓平
阅读(132)
评论(0)
推荐(0)
摘要:
发表时间:2006-4-1 0:11:00 CREATE TRIGGER trInsert ON dbo.Products FOR INSERT AS Update Products Set LastUpdate = GetDate() From Products p Inner Join Inserted i On p.ProductID = i.ProductID Where ... 阅读全文
posted @ 2009-04-29 15:39
袁晓平
阅读(170)
评论(0)
推荐(0)
摘要:
发表时间:2006-4-2 16:41:00 SELECT TOP 页大小 * FROM TestTable WHERE (ID NOT IN (SELECT TOP 页大小*页数 id FROM 表 ORDER BY id)) ORDER BY ID 阅读全文
posted @ 2009-04-29 15:38
袁晓平
阅读(127)
评论(0)
推荐(0)
摘要:
发表时间:2006-4-6 18:28:00 function getCurrentFactPageIndex() { var url = window.***.href; var currentPageIndex = 1; if(url.toLowerCase().indexOf('factindex='http://www.blog.com.cn/) != -1) { var te... 阅读全文
posted @ 2009-04-29 15:37
袁晓平
阅读(282)
评论(0)
推荐(0)
摘要:
发表时间:2006-4-6 18:31:00 function returnFactPage(newIndex) { var pageCount = document.getElementById("FactNameControl_divPageCount").innerHTML; var newPage = "factindex="+newIndex; var pattern = /fac... 阅读全文
posted @ 2009-04-29 15:36
袁晓平
阅读(249)
评论(0)
推荐(0)
摘要:
发表时间:2006-4-12 22:59:00 protected override void OnPaint(PaintEventArgs e) { base.OnPaint (e); FontFamily fontFamily = new FontFamily("Times New Roman"); Font font = new Font( fontFami... 阅读全文
posted @ 2009-04-29 15:35
袁晓平
阅读(689)
评论(0)
推荐(0)
摘要:
发表时间:2006-4-12 23:18:00 Class的定义 public class ComboBoxItem { private string _text=null; private object _value=null; public string Text { get{return this._text;} set{this._text=value;} ... 阅读全文
posted @ 2009-04-29 15:34
袁晓平
阅读(643)
评论(0)
推荐(0)
摘要:
发表时间:2006-4-13 10:16:00 字符 描述 " 将下一个字符标记为一个特殊字符、或一个原义字符、或一个 向后引用、或一个八进制转义符。例如,'n' 匹配字符 "n"。'"n' 匹配一个换行符。序列 '""' 匹配 """ 而 ""(" 则匹配 "("。 ^ ... 阅读全文
posted @ 2009-04-29 15:33
袁晓平
阅读(155)
评论(0)
推荐(0)
摘要:
发表时间:2006-4-21 14:09:00 static public string IPAddress { get { string userIP; HttpRequest Request = HttpContext.Current.Request; // 如果使用代理,获取真实IP if (Request.S... 阅读全文
posted @ 2009-04-29 15:32
袁晓平
阅读(276)
评论(0)
推荐(0)
摘要:
发表时间:2007-4-26 11:28:00 System.Configuration.Configuration config = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("~"); System.Web.Configuration.PagesSection pagesS... 阅读全文
posted @ 2009-04-29 15:29
袁晓平
阅读(249)
评论(0)
推荐(0)
摘要:
发表时间:2007-4-29 13:58:00 JSON劫持以及ASP.NET AJAX 1.0是如何避免这些攻击的 【原文地址】JSON Hijacking and How ASP.NET AJAX 1.0 Avoids these Attacks 【原文发表日期】 Wednesday, April 04, 2007 11:39 AM 最近,由安全研究人员发表的一些报告描述了一些方法,可以被黑客... 阅读全文
posted @ 2009-04-29 15:28
袁晓平
阅读(463)
评论(1)
推荐(0)
摘要:
发表时间:2007-5-23 11:41:00 函数调用约定和堆栈 1 什么是堆栈 编译器一般使用堆栈实现函数调用。堆栈是存储器的一个区域,嵌入式环境有时需要程序员自己定义一个数组作为堆栈。Windows为每个线程自动维护一个堆栈,堆栈的大小可以设置。编译器使用堆栈来堆放每个函数的参数、局部变量等信息。 函数调用经常是嵌套的,在同一时刻,堆栈中会有多个函数的信息,每个函数占用一个连续的区域。一个函... 阅读全文
posted @ 2009-04-29 15:26
袁晓平
阅读(230)
评论(0)
推荐(0)
摘要:
发表时间:2007-6-4 9:03:00 C# 用户经常提出两个问题:“我为什么要另外编写代码来使用内置于 Windows 中的功能?在框架中为什么没有相应的内容可以为我完成这一任务?”当框架小组构建他们的 .NET 部分时,他们评估了为使 .NET 程序员可以使用 Win32 而需要完成的工作,结果发现 Win32 API 集非常庞大。他们没有足够的资源为所有 Win32 API 编写托管接口... 阅读全文
posted @ 2009-04-29 15:23
袁晓平
阅读(225)
评论(1)
推荐(0)
摘要:
发表时间:2007-6-25 17:31:00 FTP 协议命令实战 废话就不多说了,下面是用TELNET连接Serv-U测试成功的例子 下载文件 --------------------------------------------------------------------------- TELNET 127.0.0.1 21 220 Serv-U FTP Server v4.0 ... 阅读全文
posted @ 2009-04-29 15:22
袁晓平
阅读(234)
评论(0)
推荐(0)
摘要:
发表时间: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
袁晓平
阅读(210)
评论(0)
推荐(0)
摘要:
发表时间:2007-6-28 9:12:00 /// /// 单表分页 /// /// 查询条件 /// 排序字段 /// 是否顺序 /// 每页数据条数 /// 页索引(0开始) /// 总记录条数(传入值小于0时返回) /// p... 阅读全文
posted @ 2009-04-29 15:18
袁晓平
阅读(209)
评论(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
袁晓平
阅读(267)
评论(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
袁晓平
阅读(559)
评论(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
袁晓平
阅读(1411)
评论(0)
推荐(0)
摘要:
发表时间:2007-7-11 15:49:00 /^(""""[^""]+"")|([A-Za-z]:"")([^""]+"")*([^".]+".)+[^".]+$/img.test(str) 阅读全文
posted @ 2009-04-29 15:11
袁晓平
阅读(1441)
评论(0)
推荐(0)
摘要:
发表时间:2007-8-7 13:21:00 /****************************************************************************** * Copyright (C) 2000 by Robert Hubley. * * All rights re... 阅读全文
posted @ 2009-04-29 15:10
袁晓平
阅读(867)
评论(0)
推荐(0)
摘要:
发表时间:2007-8-7 13:22:00 /****************************************************************************** * Copyright (C) 2000 by Robert Hubley. * * All rights rese... 阅读全文
posted @ 2009-04-29 15:09
袁晓平
阅读(393)
评论(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
袁晓平
阅读(635)
评论(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
袁晓平
阅读(207)
评论(0)
推荐(0)
摘要:
发表时间:2007-10-16 10:15:00 var HTTP = {}; // This is a list of XMLHttpRequest-creation factory functions to try HTTP._factories = [ function() { return new XMLHttpRequest(); }, function() { retu... 阅读全文
posted @ 2009-04-29 15:06
袁晓平
阅读(640)
评论(0)
推荐(0)
摘要:
发表时间:2007-10-17 21:42:00 FrameworkInitialize InitializeCulture OnPreInit OnInit TrackViewState OnInitComplete OnPreLoad OnLoad Page_Load OnLoadComplete EnsureChildControls CreateChildControls OnPreRen... 阅读全文
posted @ 2009-04-29 15:05
袁晓平
阅读(194)
评论(0)
推荐(0)
摘要:
发表时间:2008-2-28 10:24:00 详见 user66/musictom/upload/228939146.rar =============================================================== var _xmlHttp; var _url = 'http://mail.pudong.sh/ews/exchange.asmx'; va... 阅读全文
posted @ 2009-04-29 15:03
袁晓平
阅读(865)
评论(2)
推荐(0)
摘要:
发表时间:2008-2-29 18:53:00 using System; using System.Net; using System.Collections.Generic; using EWS; using MailClient; namespace ExchangeWs { public class ExchangeWs { private ExchangeServ... 阅读全文
posted @ 2009-04-29 15:02
袁晓平
阅读(896)
评论(0)
推荐(0)
摘要:
发表时间:2008-4-4 10:55:00 代码如下: using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Configuration; using System.Xml; namespace Beyondbit.Portal.Conf... 阅读全文
posted @ 2009-04-29 15:00
袁晓平
阅读(206)
评论(0)
推荐(0)
摘要:
发表时间:2008-4-4 16:31:00 http://mail.pudong.sh/owa/shif@pudong.sh/?f=%E6%94%B6%E4%BB%B6%E7%AE%B1&Cmd=Contents&part=0/ 收件箱 1 http://mail.pudong.sh/owa/shif@pudong.sh/?f=%E5%8F%91%E4%BB%B6%E7%AE%B1&Cmd=C... 阅读全文
posted @ 2009-04-29 14:59
袁晓平
阅读(435)
评论(0)
推荐(0)
摘要:
发表时间:2008-4-10 18:45:00 a.htm --------------------------------------------------------- b.htm ------------------------------------------------------------------ DIVA 阅读全文
posted @ 2009-04-29 14:58
袁晓平
阅读(316)
评论(2)
推荐(0)
摘要:
图片地址 upload.gif fu_btn.gif 附件 FileUpload.htm: 仿163网盘无刷新文件上传系统 上传文件 添加文件: ... 阅读全文
posted @ 2009-04-29 11:47
袁晓平
阅读(444)
评论(1)
推荐(0)
浙公网安备 33010602011771号