2010年11月19日

摘要: aDEPOT的个人博客 由 作者 在 署名2.5 中国大陆许可协议下发布. 欢迎转载,演绎或用于商业目的,但是必须保留本文的署名depot(包含链接),如您有任何疑问或者授权方面的协商,请给我留言 阅读全文
posted @ 2010-11-19 10:46 Depot 阅读(63) 评论(0) 推荐(0) 编辑
 

2010年10月22日

摘要: WIN7自带IIS默认上传上限是30M,如果有更大需求的童鞋可以如下配置。启动IIS-》请求筛选-》编辑功能设置-》请求限制-》允许的最大请求限制 在后面加2个0就ok了,3G基本够用了呵呵。 阅读全文
posted @ 2010-10-22 13:47 Depot 阅读(136) 评论(0) 推荐(0) 编辑
 

2010年10月19日

摘要: ASP.NET写的网站,里面包含excel导入和导出的功能用到了excel com组件,服务器本机运行正常,用IIS发布后客户机访问时出现无法创建ActiveX对象的错误,原因是用户对com组件的权限不够,解决方法如下:1.为excel com组件添加everyone用户的权限,具体如下:控制面板->管理工具->组件服务->组件服务->计算机->我的电脑->DC... 阅读全文
posted @ 2010-10-19 09:20 Depot 阅读(1020) 评论(0) 推荐(1) 编辑
 

2010年10月14日

摘要: 页面文件代码后台代码后台代码 阅读全文
posted @ 2010-10-14 08:38 Depot 阅读(203) 评论(0) 推荐(0) 编辑
 

2010年9月19日

摘要: 为textbox添加事件sTextBox1.Attributes.Add("onKeyPress", "javascript:setMaxLength(this,15)")TextBox1.Attributes.Add("onpaste", "javascript:limitPaste(this, 15)") 阅读全文
posted @ 2010-09-19 13:58 Depot 阅读(374) 评论(0) 推荐(0) 编辑
 

2010年9月10日

摘要: 效果图如下:代码如下 阅读全文
posted @ 2010-09-10 13:59 Depot 阅读(738) 评论(0) 推荐(0) 编辑
 

2010年9月9日

摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.I... 阅读全文
posted @ 2010-09-09 16:55 Depot 阅读(619) 评论(0) 推荐(1) 编辑
 
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO... 阅读全文
posted @ 2010-09-09 13:57 Depot 阅读(826) 评论(0) 推荐(0) 编辑
 

2010年9月6日

摘要: 资源文件操作类派生自button的类baseFormForm1 阅读全文
posted @ 2010-09-06 16:30 Depot 阅读(999) 评论(0) 推荐(0) 编辑
 

2010年9月4日

摘要: Imports System.Resources '当然你可以创建自己的资源文件,并且可以放到工程的任意位置(包括自建的文件夹下) '第一个参数为 "工程名.资源文件名" Dim res As New ResourceManager("testEmail.Resources", Me.GetType.Assembly) '根据资源名取得值 res.GetString(s) 阅读全文
posted @ 2010-09-04 18:18 Depot 阅读(1045) 评论(0) 推荐(0) 编辑