01 2010 档案

该文被密码保护。
posted @ 2010-01-24 12:06 哥本哈根 阅读(4) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--/// <summary> /// 上传照片,调用MakeThumbnail方法对照片的大小进行修改 /// </summary> public void uploadPict... 阅读全文
posted @ 2010-01-21 10:37 哥本哈根 阅读(246) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--对于winform窗体显示在父窗体中,有两种情况,第一是模式显示,既showDialog().这种显示只需要设置StartPosition=CenterPostion.用代码如下:From f2=ne... 阅读全文
posted @ 2010-01-20 14:44 哥本哈根 阅读(322) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1.在form中添加一个NotifyIcon控件 2.把87.ico这个图标放在\bin\Debug目录下 using System; using System.Collections.Generic... 阅读全文
posted @ 2010-01-20 14:43 哥本哈根 阅读(384) 评论(1) 推荐(1)
摘要:1月17号在卓越网上买的—《庖丁解牛:纵向切入ASP.NET 3.5控件和组件开发技术》,19号收到,速度还不错,62.9元带发票。这两也没太多的时间,只是随便看了下,总体感觉还不错!一定要坚持看下去!加油! 阅读全文
posted @ 2010-01-20 13:45 哥本哈根 阅读(227) 评论(0) 推荐(0)
摘要:<SCRIPT LANGUAGE="javascript">   <!--   window.open ('page.html')   -->   </SCRIPT>      因为着是一段javascripts代码,所以它们应该放在<SCRIPT LANGUAGE="javascript">标签和</script>之间。<!-- ... 阅读全文
posted @ 2010-01-11 14:14 哥本哈根 阅读(401) 评论(0) 推荐(0)
摘要:这两天一直碰到一个郁闷的问题,在对表单进行提交的时候,用户名是中文的,怎么测试都不通过,今天上午突然想起来是不是因为中文字符编码的问题!经过测试,果然是因为这个问题!现在把解决方法贴出来!呵呵!在项目的web.config文件中添加下面的代码代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.Co... 阅读全文
posted @ 2010-01-06 11:03 哥本哈根 阅读(276) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2010-01-06 09:21 哥本哈根 阅读(3) 评论(0) 推荐(0)
摘要:若要在 Global.asax 文件中启用错误事件处理程序,Web.config 文件不能为 defaultRedirect 指定文件。配置文件优先。因此,可以将 customErrors 设置为 Off 或移除 defaultRedirect 设置。如果 Web.config 配置文件将 customErrors 设置为 Off,则 Global.asax 中的 Application_Erro... 阅读全文
posted @ 2010-01-04 11:07 哥本哈根 阅读(367) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//要引入下面两个命名空间usingSystem.Net;usingSystem.Net.Mail;///error是传进来的错误信息publicstringaaa(stringerror){//发件... 阅读全文
posted @ 2010-01-03 12:44 哥本哈根 阅读(354) 评论(2) 推荐(0)