摘要: 想查询某网站被谷歌收录的信息 site:+website+查询信息名 阅读全文
posted @ 2008-09-26 10:12 凡的世界 阅读(191) 评论(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 凡的世界 阅读(2656) 评论(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 凡的世界 阅读(665) 评论(1) 推荐(0)
摘要: 在用foreach遍历如:List 时,如果在遍历的中间对List里面的对象进行修改操作会出错,此时只能用for 阅读全文
posted @ 2008-09-11 16:47 凡的世界 阅读(402) 评论(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 凡的世界 阅读(681) 评论(0) 推荐(0)
摘要: 最近做了个项目,样式是用CSS控制,发现在使用了response.write后样式发生了变化,位置和字体都不正确。Response.Write("")这种用法也是这样,2003中没有这种情况,很不明白,恰巧看到了csdn上的一个帖子也是讨论这个问题的,其中提到原因有: ASP.NET 2.0里默认使用文档定义模型,这个dtd的规则与以前的不同,因此,许多以前写的代码在新标准下无法正常运行。 --... 阅读全文
posted @ 2008-09-02 15:14 凡的世界 阅读(1389) 评论(0) 推荐(0)
摘要: 用ctrl+0(数字零)就可以添加 阅读全文
posted @ 2008-08-25 10:40 凡的世界 阅读(447) 评论(0) 推荐(0)
摘要: 主要使用Attributes属性的方法 例子: 在动态填充DropDownList时,有可能添充内容的宽度会超过默认设定的宽度,这样会给阅读造成一定的困难,如果我们用tilte属性把要显示的内容显示出来,就是一个很好的解决放案 ListItem l1 = new ListItem(); l1.Text ="你知道我有多长吗,你不知道吧,其实我有肯更长... 阅读全文
posted @ 2008-08-21 16:20 凡的世界 阅读(325) 评论(0) 推荐(0)
摘要: 按照正常的逻辑,先显示消息,再将页面跳转,实际上不新alert对话框不能显示 Response.Write(""); Response.Redirect("webform2.aspx"); 通过修改有两种解决方法一种:利用脚步跳转 Response.Write(""); Response.Write(""); 第二种:还是利用脚本跳转 Response.Write(""); 阅读全文
posted @ 2008-08-12 12:04 凡的世界 阅读(1242) 评论(0) 推荐(0)