摘要:
private void Page_Load(object sender, System.EventArgs e){ string url1 = "http://dotnet.aspx.cc/"; string url2 = "http://dotnet.aspx.cc/Images/logo.gif"; Response.Write("<li>方法1:"); Response.Write(url1 + " 存在:" + UrlExistsUsingHttpWebRequest(url1).ToStri 阅读全文
posted @ 2012-08-03 12:24
xust
阅读(141)
评论(0)
推荐(0)
摘要:
SQL code SQL Server 2000 安装错误,解决方法~ Process Exit Code: (1060) 指定的服务未安装 今天早上,发现SQL Server2000 无法连接.打开服务管理器后.启动服务器..发现服务器启动后自动关闭.真郁闷.还以为是SQL Server2000文件丢失.于是卸裁SQL Server2000后.重装..但装到最后配制文件时.却跳出一个对话框"安装程序配置服务器失败...."查了安装日志如下: ....... 14:34:50 Process Exit Code: (-1) 14:34:53 安装程序配置服务器失败。参考服务 阅读全文
posted @ 2012-08-03 12:22
xust
阅读(1547)
评论(0)
推荐(0)
摘要:
stylesheet"属性指定将一个样式表立即应用到文档.rel="alternate stylesheet"属性将其作为备用样式表而在默认情况下禁用它通过js拿到link标签对象,disabled属性设置,可以实现变化页面导入样式表disabled = true;表示它不会立即生效disabled = false;表示立即生效 阅读全文
posted @ 2012-08-03 12:21
xust
阅读(377)
评论(0)
推荐(0)
摘要:
在做一个项目的过程中,需要将一些数据组织起来,第一个想到的就是HashTable,主要就是考虑它用得比较广,再然后是KEY的唯一性,于是乎就用了。用了之后就发现了后果很严重:数据加入哈希表的时候的顺序和迭代输出的顺序不一致,这问题可真严重了,既然哈希表不能满足要求,只能用其它的数据结构了,找了一下就NameValueCollection了,用起来来还真好,主是没有支持KEY的唯一性,不可无所谓了,反正我这个项目也不好要求其唯一性了。 关于HashTable和NameValueCollection输出顺序对比可通过以下示例得出。using System;using System.Coll... 阅读全文
posted @ 2012-08-03 12:20
xust
阅读(240)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Management;namespace WindowsApplication1{ public partial class Form4 : Form { public Form4() { Ini... 阅读全文
posted @ 2012-08-03 12:18
xust
阅读(2105)
评论(0)
推荐(0)
摘要:
<script type="text/javascript">function upperCase(x){ var y=document.getElementById(x).value; document.getElementById(x).value=y.toUpperCase();}function myFocus(x){ var inputLen=document.getElementById(x).value.length; var maxLen=document.getElementById(x).maxLength; if(maxLen==input 阅读全文
posted @ 2012-08-03 12:17
xust
阅读(104)
评论(0)
推荐(0)
摘要:
HTTP协议中GET、POST和HEAD的介绍GET: 请求指定的页面信息,并返回实体主体。HEAD: 只请求页面的首部。POST: 请求服务器接受所指定的文档作为对所标识的URI的新的从属实体。 HTTP 定义了与服务器交互的不同方法,最基本的方法是 GET 和 POST。事实上 GET 适用于多数请求,而保留 POST 仅用于更新站点。根据 HTTP 规范,GET 用于信息获取,而且应该是 安全的和幂等的。所谓安全的意味着该操作用于获取信息而非修改信息。换句话说,GET 请求一般不应产生副作用。幂等的意味着对同一 URL 的多个请求应该返回同样的结果。完整的定义并不像看起来那样严格。... 阅读全文
posted @ 2012-08-03 12:16
xust
阅读(226)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23 阅读全文
posted @ 2012-08-03 12:14
xust
阅读(193)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23 阅读全文
posted @ 2012-08-03 12:13
xust
阅读(193)
评论(0)
推荐(0)
摘要:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><meta http-equiv="refresh" content="0; url=http://60.190.61.193/manager/spitemsort.TJ?method=showFwznSpitemAction&kind=部门&kindname=农林局"> 阅读全文
posted @ 2012-08-03 12:12
xust
阅读(80)
评论(0)
推荐(0)

浙公网安备 33010602011771号