上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
  2006年9月16日
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Management;namespace读取序列号...{classClass1...{publicstaticvoidMain()...{//获取CPU序列号stringcpuInfo="";ManagementClasscimobject=newManagementClass("Win32_Processor");ManagementObjectCollectionmoc=cimobject.GetInst 阅读全文
posted @ 2006-09-16 08:44 wkjs 阅读(198) 评论(0) 推荐(0) 编辑
摘要: ASP.NET对象1. Page对象 名称 功能说明 IsPostBack属性 获取一个值,该值表示该页是否正为响应的客户端回发而加载 IsValid属性 获取一个值,该值表示一个页面是否通过验证 EnableViewState属性 获取或设置一个值,该值指示当前页请求结束时是否保持其视图状态 Validators属性 获取请求的页上包含的全部验证空间的集合 DataBind方法 将数据源邦定到被调用的服务器控件及其所有子控件 FindControl方法 在页面中搜索制定的服务器控件 RegisterClientScriptBlock方法 向页面发出客户端脚本块 Valiadte方法 指示页面 阅读全文
posted @ 2006-09-16 07:40 wkjs 阅读(193) 评论(0) 推荐(0) 编辑
  2006年9月14日
摘要: usingSystem;//声明.NETFramework提供加密服务的命名空间usingSystem.Security.Cryptography;usingSystem.Text;//声明提供.NETFramework提供正确的正则表达式的命名空间usingSystem.Text.RegularExpressions;namespaceWKJSMD5...{publicclassSecurity...{publicstringEncrypt(stringcleanString)...{//将传入的参数转化为UIF-16编码格式的字节类型变量byte[]clearByte=newUnicode 阅读全文
posted @ 2006-09-14 04:11 wkjs 阅读(160) 评论(0) 推荐(0) 编辑
摘要: /*sound.h*/#include <stdio.h>#include <conio.h>#define NOO 1450int music1[8][6]={ {262,262,294,262,349}, {330,262,262,294,262}, {392,349,262,262,523}, {440,349,262,262,466}, {466,440,262,392,349}};int time1[8][6]={ {100,100,200,200,200}, {200,200,100,100,200}, {200,200,200,200,200}, {200 阅读全文
posted @ 2006-09-14 03:12 wkjs 阅读(200) 评论(0) 推荐(0) 编辑
  2006年8月26日
摘要: ASP.NET ViewState 初探1. ViewState的工作原理 ViewState是由ASP.NET页面框架管理的一个隐藏的窗体字段。当ASP.NET执行某个页面时,该页面上的ViewState值和所有控件将被收集并给和格式化成一个编码字符串,然后分配给隐藏窗体字段的值属性(即<input type=”hidden”>)。由于隐藏窗体字段是发送到客户端的页面的一部分,所以ViewState值被临时存储在客户端的浏览器中。如果客户端选择该页面回传给服务器,则ViewState字符串也将被回传。回传后,ASP.NET页面框架将解析ViewState字符串,并为该页面和各个控 阅读全文
posted @ 2006-08-26 21:39 wkjs 阅读(193) 评论(0) 推荐(0) 编辑
  2006年8月22日
摘要: /*-------------- 函数检索 --------------trim函数: trim() lTrim() rTrim()校验字符串是否为空: checkIsNotEmpty(str)校验字符串是否为整型: checkIsInteger(str)校验整型最小值: checkIntegerMinValue(str,val)校验整型最大值: checkIntegerMaxValue(str,val) 校验整型是否为非负数: isNotNegativeInteger(str)校验字符串是否为浮点型: checkIsDouble(str) 校验浮点型最小值: checkDoubleMinVa 阅读全文
posted @ 2006-08-22 00:31 wkjs 阅读(136) 评论(0) 推荐(0) 编辑
  2006年8月21日
摘要: <htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>AJAX第二个例子</title><scripttype="text/javascript">...varxmlHttp;varbloglist=newArray();//常见XMLHttpRequest对象functionCreateXMLHttpRequest()...{if(window.ActiveXObject)...{xmlHttp=newActiveXObject(&quo 阅读全文
posted @ 2006-08-21 23:29 wkjs 阅读(184) 评论(0) 推荐(0) 编辑
摘要: <?xmlversion="1.0"encoding="utf-8"?><!--RSS结构--><rssversion="2.0"><channel><title>频道名称(必备)</title><link>频道的URL(必备)</link><description>频道的描述(必备)</description><language>频道文章所用语言(可选)</language><copy 阅读全文
posted @ 2006-08-21 21:11 wkjs 阅读(153) 评论(0) 推荐(0) 编辑
摘要: <htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>创建第一个AJAX程序</title><scripttype="text/javascript">...varxmlHttp;//创建XMLHttpRequest对象functionCreateXMLHttpRequest()...{if(window.ActiveXObject)...{xmlHttp=newActiveXObject("Microsoft.XMLHTTP&q 阅读全文
posted @ 2006-08-21 19:25 wkjs 阅读(250) 评论(1) 推荐(0) 编辑
  2006年8月20日
摘要: PHP语言入门2.1 PHP语言基础 2.1.1 PHP文件格式 Helloworld.php<Html> <head> <title>Hello World!</title> </head> <body> <?php //输出Hello,World echo "Hello,World"; ?> </body></html> 2.1.2 PHP标记 <?php……?> <?……?> <script language=”php”>…… 阅读全文
posted @ 2006-08-20 08:01 wkjs 阅读(283) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页