人是有惰性的

想到哪儿写到哪儿

2007年7月24日

vs 2005 asp.net designer 文件中没有正确生成用户控件

摘要: 编译不通过,项目排出编译不通过的文件,编译通过。加入排出的文件,删除desinger文件,在项目上convert to web application,自动生成desinger,编译通过。 阅读全文

posted @ 2007-07-24 17:13 guanfei 阅读(286) 评论(0) 推荐(0)
C#获取本机电脑相关信息,已验证

摘要: 类 using System;using System.Runtime.InteropServices;using System.Management; //需要在解决方案中引用System.Management.DLL文件namespace WebApplication1{ /**//// /// HardInfoClass 的摘要说明。 /// public cla... 阅读全文

posted @ 2007-07-24 16:02 guanfei 阅读(317) 评论(0) 推荐(0)
Vs2005 Debug 不能执行

摘要: 报错Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further in... 阅读全文

posted @ 2007-07-24 15:28 guanfei 阅读(427) 评论(1) 推荐(0)
数据恢复,第三方工具(Log Explorer)的使用

摘要: http://www.cnblogs.com/zhangzs8896/archive/2004/11/10/62390.html 阅读全文

posted @ 2007-07-24 13:25 guanfei 阅读(209) 评论(0) 推荐(0)

2007年7月23日

使用FileUpload控件上传图片并自动生成缩略图、自动生成带文字和图片的水印图

摘要: 转 http://blog.csdn.net/wangmj518/archive/2007/05/13/1606725.aspx一个update文件,一个file目录,一个水印jpg Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->无标题页 Code... 阅读全文

posted @ 2007-07-23 10:49 guanfei 阅读(324) 评论(0) 推荐(0)

2007年7月22日

asp.net 多form

摘要: asp.net 1.1的时候,多表单嵌套是出错的(好像) asp.net 2.0 倒是可以,但是提交没反应。一种方案是并列form,不嵌套。但是如果是用户控件中一定要有form,并提交到不同的页面,这个方案就不行了。例如嵌入一个投票,这时用第二个方案,javascript处理。 但是要注意恢复原来form的action等属性,以保持原来页面不受影响。 ... 阅读全文

posted @ 2007-07-22 21:49 guanfei 阅读(912) 评论(3) 推荐(0)
POST (Request.Form) Get ( Request.QueryString)

摘要: Post --> Request.Form["xx"]Get ---> Request.QueryString["xx"]POST, GET 均可Request.Params["xx"] 阅读全文

posted @ 2007-07-22 19:28 guanfei 阅读(351) 评论(0) 推荐(0)
resharper 3.0 中关于 method can be made static

摘要: 转 In version 2.5 ReSharper go lots of new code warning highlights. One of the most annoying is certainly “This method could be made static”. First I didn’t even figure it out why it marks some metho... 阅读全文

posted @ 2007-07-22 15:59 guanfei 阅读(395) 评论(0) 推荐(0)
博客是做什么的呢?

摘要: 不管别人做什么,这里就是记录我的收获的点滴。查起来方便,给朋友link也方便。开始! 阅读全文

posted @ 2007-07-22 15:54 guanfei 阅读(242) 评论(0) 推荐(0)