2010年8月8日

datagridview 取消对当前选定的单元格的选择

摘要: DataGridView.ClearSelection[代码][代码] 阅读全文

posted @ 2010-08-08 19:55 pwm_1987 阅读(1485) 评论(0) 推荐(0) 编辑

2010年7月21日

VB.NET 数字转换为汉字金额大写文字函数 小数最多为2位

摘要: 代码 阅读全文

posted @ 2010-07-21 23:03 pwm_1987 阅读(1921) 评论(0) 推荐(0) 编辑

2010年7月20日

VB.NET 前缀+日期格式+4位后缀 自动编号,例如GK201007190001

摘要: 代码 阅读全文

posted @ 2010-07-20 22:04 pwm_1987 阅读(1321) 评论(0) 推荐(1) 编辑

VB.NET 获得拼音码

摘要: 代码 阅读全文

posted @ 2010-07-20 22:01 pwm_1987 阅读(406) 评论(0) 推荐(0) 编辑

KeyPress事件 控制输入的是整数还是小数

摘要: 代码 阅读全文

posted @ 2010-07-20 21:56 pwm_1987 阅读(593) 评论(0) 推荐(0) 编辑

2010年5月25日

可供大家参考的.net2.0开发小技巧

摘要: 在提交页面之后,保持滚动条的位置 可以在 page 指令上加上 MaintainScrollPositionOnPostback 指令 < %@ Page Language ="C#" MaintainScrollPositionOnPostback ="true" AutoEventWireup ="true" CodeFile ="..." Inherits ="..." % > ... 阅读全文

posted @ 2010-05-25 23:53 pwm_1987 阅读(273) 评论(0) 推荐(0) 编辑

ASP.NET存储过程分页

摘要: 存储过程:代码===========================================================.cs文件:代码=================================================aspx文件:代码====================================================文章引用于http://www.... 阅读全文

posted @ 2010-05-25 23:12 pwm_1987 阅读(449) 评论(0) 推荐(0) 编辑

存储过程的封装

摘要: 只是做一个例子,别的可以仿照下面的例子改改就好了。代码 阅读全文

posted @ 2010-05-25 23:07 pwm_1987 阅读(497) 评论(1) 推荐(0) 编辑

用户登录存储过程

摘要: UserPower为用户的权限,我这里是int类型的。学生为0,老师为1,专家为3,管理员为4。返回值是用户的状态,只不过状态中的值,有部分是用户的权限值。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--CREATE proc Proc_UserL... 阅读全文

posted @ 2010-05-25 22:55 pwm_1987 阅读(529) 评论(0) 推荐(0) 编辑

2010年5月10日

无法将类型string隐式转换为System.Drawing.Color的解决方法

摘要: TextboxName.BackColor =System.Drawing.ColorTranslator.FromHtml(DropDownListID.SelectedValue) 阅读全文

posted @ 2010-05-10 12:08 pwm_1987 阅读(1344) 评论(0) 推荐(0) 编辑

导航