摘要: 出现这样的错误,有可能是你的虚拟目录的权限不够 选择 [站点] 右键- 权限-- 添加-->高级-->立即查找-->选中Network Service-->赋予所有权限 阅读全文
posted @ 2008-10-09 10:58 凡的世界 阅读(231) 评论(0) 推荐(0)
摘要: 想查询某网站被谷歌收录的信息 site:+website+查询信息名 阅读全文
posted @ 2008-09-26 10:12 凡的世界 阅读(188) 评论(1) 推荐(0)
摘要: 当您尝试使用 response.writefile 方法下载大文件时,下载操作可能没有响应,并且随后可能会收到以下错误信息之一: The page cannot be displayed - 或 - Server Application Unavailable The Web application you are attempting to access on this Web serv... 阅读全文
posted @ 2008-09-17 18:23 凡的世界 阅读(2652) 评论(0) 推荐(0)
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 u... 阅读全文
posted @ 2008-09-12 09:39 凡的世界 阅读(661) 评论(1) 推荐(0)
摘要: 在用foreach遍历如:List 时,如果在遍历的中间对List里面的对象进行修改操作会出错,此时只能用for 阅读全文
posted @ 2008-09-11 16:47 凡的世界 阅读(401) 评论(0) 推荐(0)
摘要: 新手对这个东西可能会表头痛, 下面就是添加的代码 "+"\""+" 阅读全文
posted @ 2008-09-10 19:01 凡的世界 阅读(502) 评论(0) 推荐(0)
摘要: 本文描述了一个用C#实现的简单的Windows Service。 功能是在启动和停止服务的时候,在Windows事件查看器(Event Log)里添加一条log。 在Visual Studio 2008中建立Windows Service项目之后,会自动生成一个Service1的服务,它的名字默认是Service1,我先把它的文件名从Service1.cs改成ITSTestService.cs,然... 阅读全文
posted @ 2008-09-10 14:52 凡的世界 阅读(680) 评论(0) 推荐(0)
摘要: 最近做了个项目,样式是用CSS控制,发现在使用了response.write后样式发生了变化,位置和字体都不正确。Response.Write("")这种用法也是这样,2003中没有这种情况,很不明白,恰巧看到了csdn上的一个帖子也是讨论这个问题的,其中提到原因有: ASP.NET 2.0里默认使用文档定义模型,这个dtd的规则与以前的不同,因此,许多以前写的代码在新标准下无法正常运行。 --... 阅读全文
posted @ 2008-09-02 15:14 凡的世界 阅读(1385) 评论(0) 推荐(0)
摘要: 用ctrl+0(数字零)就可以添加 阅读全文
posted @ 2008-08-25 10:40 凡的世界 阅读(446) 评论(0) 推荐(0)
摘要: 主要使用Attributes属性的方法 例子: 在动态填充DropDownList时,有可能添充内容的宽度会超过默认设定的宽度,这样会给阅读造成一定的困难,如果我们用tilte属性把要显示的内容显示出来,就是一个很好的解决放案 ListItem l1 = new ListItem(); l1.Text ="你知道我有多长吗,你不知道吧,其实我有肯更长... 阅读全文
posted @ 2008-08-21 16:20 凡的世界 阅读(324) 评论(0) 推荐(0)