2007年9月5日

摘要: 具体方法是:创建一个数据库,设计树图信息表S_Menu,包含NodeId、ParentId、NodeName、Address、Icon字段,其它字段根据实际业务而定,节点名称NodeName将在树型控件的节点上显示,NodeId字段保存节点的唯一标识号,ParentId表示当前节点的父节点号,标识号组成了一个“链表”,记录了树上节点的结构。设计一个Web窗体其上放置Tree... 阅读全文
posted @ 2007-09-05 10:58 黄毅.net 阅读(797) 评论(0) 推荐(0) 编辑

2007年7月31日

摘要: <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <% 'dim strTextContent 'Sub ReadFiles() If Trim(Request("Action"))="Write" Then objstr = "Scripting."&"FileSystemObject" Set objFSO = CreateObject... 阅读全文
posted @ 2007-07-31 14:25 黄毅.net 阅读(2591) 评论(1) 推荐(0) 编辑

2007年7月30日

摘要: private void ReadHdId() { String HDid; System.Management.ManagementClass cimobject = new System.Management.ManagementClass("Win32_PhysicalMedia"); System.Management.ManagementO... 阅读全文
posted @ 2007-07-30 15:59 黄毅.net 阅读(238) 评论(0) 推荐(0) 编辑

2007年7月19日

摘要: 阅读全文
posted @ 2007-07-19 01:35 黄毅.net 阅读(386) 评论(0) 推荐(0) 编辑

2007年7月11日

摘要: 1.设置web.config文件。(我不喜欢设置成这样) ...... ...... 或者: aspx文件中: 2.传递中文之前,将要传递的中文参数进行编码,在接收时再进行解码。 >> 进行传递 string Name = "中文参数"; Response.Redirect("B.aspx?Name="+Server.UrlEncode(Name)); >> 进行接收 string ... 阅读全文
posted @ 2007-07-11 16:33 黄毅.net 阅读(244) 评论(1) 推荐(0) 编辑

2007年6月16日

摘要: 阅读全文
posted @ 2007-06-16 10:40 黄毅.net 阅读(2087) 评论(0) 推荐(0) 编辑

2007年6月12日

摘要: <%'''执行asp把代码返回来生成静态html页面Function GetPage(url) dim RetrievalSet Retrieval = CreateObject("Microsoft.XMLHTTP") With Retrieval .Open "Get", url, False ', "", "" .Send GetPage = BytesToBstr(.ResponseBod... 阅读全文
posted @ 2007-06-12 09:58 黄毅.net 阅读(268) 评论(0) 推荐(0) 编辑

2007年6月8日

摘要: CREATE procedure wqnews_GetPagedWQNews(@pagesize int,@pageindex int,@docount bit)asset nocount onif(@docount=1)select count(newsid) from wqnewselsebegindeclare @indextable table(id int identity(1,1),n... 阅读全文
posted @ 2007-06-08 11:02 黄毅.net 阅读(148) 评论(0) 推荐(0) 编辑
 
摘要: 1 概述 在一个软件项目开发中,系统测试是保证整体项目质量的重要一环,本文将就网站的测试技术及相应的自动测试工具做一个简要的介绍。主要就如下几个方面进行探讨: 功能测试 性能测试 安全性测试 稳定性测试 浏览器兼容性测试 可用性/易用性测试 链接测试 代码合法性测试 2 测试内容 2.1 功能测试 在实际工作中,功能在每一个系统中的具有其不确定性,而我们不可能采用穷举的方法进行测试,因而导致... 阅读全文
posted @ 2007-06-08 10:33 黄毅.net 阅读(240) 评论(0) 推荐(0) 编辑
 
摘要: function ck(str){if(!/\w+@\w+(\.\w+)+/ig.test(str)){alert('邮件地址不对吧?~');return false}} 阅读全文
posted @ 2007-06-08 09:53 黄毅.net 阅读(508) 评论(0) 推荐(0) 编辑