- 浏览: 126930 次
- 性别:
- 来自: 深圳
最新评论
文章列表
ASP中设计和使用类2
<%class ClassList
private CurrentClassIDprivate CurrentTableNameprivate ParentClassIDprivate CurrentClassName
public property let ClassID(str) CurrentClassID = strend property
public property let ClassTable(str) CurrentTableName = strend property
public property let ParentID(str) ...
- 2006-09-13 10:45
- 浏览 289
- 评论(0)
'-----------------------------------------------------' 描述: Asp打包类' 作者: 小灰(quxiaohui_0@163.com)' 链接: http://asp2004.net http://blog.csdn.net/iuhxq http://bbs.asp2004.net' 版本: 1.0 Beta' 版权: 本作品可免费使用,但是请勿移除版权信息'-----------------------------------------------------Class RarDim files,packname,s,s1,s2,roo ...
- 2006-09-13 10:44
- 浏览 460
- 评论(0)
<%if request("action")="add" thenif CheckWebSitePage=true thenresponse.Write("检测通过")elseresponse.Write("检测不通过")Response.endend ifend if
Function CheckWebSitePage()server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))server_v2=Cstr(Request.Server ...
- 2006-09-12 18:06
- 浏览 303
- 评论(0)
下面是Sql Server 和 Access 操作数据库结构的常用Sql,希望对你有所帮助。内容由海娃整理,不正确与不完整之处还请提出,谢谢。
新建表:create table [表名]([自动编号字段] int IDENTITY (1,1) PRIMARY KEY ,[字段1] nVarChar(50) default '默认值' null ,[字段2] ntext null ,[字段3] datetime,[字段4] money null ,[字段5] int default 0,[字段6] Decimal (12,4) default 0,[字段7] image null ,)
删除表 ...
- 2006-09-09 12:17
- 浏览 495
- 评论(0)
万网(.net.cn)域名注册查询代码,整理了一下下面的网页代码。http://www.ip126.com/school/Article_Show.asp?ArticleID=343
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%><%'输入url目标网页地址,返回值是目标网页的HTML代码Function GetHTTPPa ...
- 2006-09-09 10:49
- 浏览 334
- 评论(0)
SUM()求和时的精度问题,跟数据表字段定义有关
sum以最精确的 expression 数据类型返回所有表达式值的和 返回结果: money 精确到货币单位的千分之十 float(n) n在1-14,精度7位,25-53,精度15位 decimal 精度38位 int 精度为整数位数
<%=conn.execute("Select SUM(TotalPrice) as List1 from OrderList where TranslateStatus=1")("List1")%>
语句查询的结果居然会返回很长的数字(5700.2500 ...
- 2006-08-31 11:22
- 浏览 1166
- 评论(0)
SQL查询跟编码有关
最近两天发现查询语句居然跟编码有点关系
sql="select * from User where sex ='女士' and DateDiff('d',RegTime,#"&CurrentUserRegDate&"#)=0 "
要求对应的编码必须为
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
以前用<meta http-equiv="Conte ...
- 2006-08-31 11:14
- 浏览 272
- 评论(0)
上个星期开会说现在中国的垃圾邮件很赚钱啊。我也很想多赚点钱。不过做技术的都很死板。脑壳不灵活。只能多研究研究一些方法来实现这样子那样的程序代码,搜集整理的两天。终于找到自己想要的代码。不很完善多多改进就好了。using System.IO;using System.Text.RegularExpressions;
public string GetPageContent(string url) {
//抓取网页源代码 string ContentHtml=String.Empty; HttpWebRequest rt=null; HttpWebResponse rs=null; Stream ...
- 2006-08-23 17:28
- 浏览 576
- 评论(0)
常用的正则表达式匹配中文字符的正则表达式: [/u4e00-/u9fa5]匹配双字节字符(包括汉字在内):[^/x00-/xff]匹配空行的正则表达式:/n[/s| ]*/r匹配HTML标记的正则表达式:/.*|/ 匹配首尾空格的正则表达式:(^/s*)|(/s*$)匹配Email地址的正则 ...
- 2006-08-09 11:44
- 浏览 525
- 评论(0)
C:/Documents and Settings/Administrator/Application Data/Microsoft/Internet Explorer/显示桌面.sfc
显示桌面.sfc文件内容为:
[Shell] Command=2 IconFile=explorer.exe,3 [Taskbar] Command=ToggleDesktop
编辑完成之后直接拉到快捷方式中就有图片了
- 2006-07-26 21:13
- 浏览 474
- 评论(0)
//希望通过这篇文章,你可以用C#写出自己的Email客户端程序This is a follow up to my SMTP example that shows how to access your POP3 server. This program connects and logs on to your POP3 server, and checks to see how many new messages you have. The instantiation of the POP is in Main() like this: POP pop = new PO ...
- 2006-07-22 11:31
- 浏览 503
- 评论(0)
//Base64的编码解码函数//文本内容进行base64编码//参数code_type 原始内容编码名称//code_type取值:UTF-16LE,UTF-16BE,windows-1252,UTF-7,UTF-8,ASCII,GB18030//参数code编码原始内容//返回编码后的数据
public string EncodeBase64(string code_type,string code){string encode = "";byte[] bytes = Encoding.GetEncoding(code_type).GetBytes(code);try{ ...
- 2006-07-22 11:18
- 浏览 617
- 评论(0)
Received: from xqf222 (unknown [222.248.201.237])by smtp3 (Coremail) with SMTP id wKjSjUpAVAFnNKJE39QhAA==.15858S2;Wed, 28 Jun 2006 15:48:56 +0800 (CST)thread-index: Acaah0d07Liy0sFNTsK6weudE0ML7A==Thread-Topic: =?gb2312?B?1eLA78zu0LS499Pv1tbTyrz+serM4g==?=From: <csharp222@126.com>To: <hnxqf ...
- 2006-07-21 12:06
- 浏览 744
- 评论(0)
From: Postmaster@163.comTo: hnxqf222@163.comSubject: 系统退信Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_CCZQY06MY7MBHWVE24L0"Content-Transfer-Encoding: 8bitMIME-Version: 1.0Date: Thu, 16 Feb 2006 05:21:48 +0800 (CST)Delivered-To: xqf222@sina.comMessage-Id: <43F39B6C.00 ...
- 2006-07-21 12:04
- 浏览 805
- 评论(0)
Return-Path: <hnxqf222@126.com>Delivered-To: xqf222@sohu.comReceived: from sohumx44.sohu.com (unknown [192.168.41.44])by mx61.mail.sohu.com (Postfix) with ESMTP id D6164973CCfor <xqf222%sohu.com@mx61.mail.sohu.com>; Tue, 11 Jul 2006 17:23:25 +0800 (CST)Received: from m5-141.126.com (unkno ...
- 2006-07-21 12:02
- 浏览 503
- 评论(0)