摘要: 行转列: --测试数据 create table 基础表(姓名 nvarchar(10),课程名 nvarchar(20),成绩 decimal(10,1)) insert 基础表 select '王家喜','计算机基础',69.0 union all select '王家喜','***理论',74.0 union all select '王家喜','英语(上)',86.0 union ... 阅读全文
posted @ 2008-02-16 11:57 Lucky Jack 阅读(462) 评论(0) 推荐(0) 编辑
摘要: Pinning the file in VSS and make local copy writable prevent the VSS-version of the file of being ckecked out every time.1. Make shure a complete version of Licenses.licx is checked in2. right click o... 阅读全文
posted @ 2008-02-16 11:54 Lucky Jack 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 在开发的过程中,难免遇到图片保存问题,解决的方法有很多,这里我把图片以二进制的形式保存到数据库中,也许这个形式并不是最高效的方式,但也不失为一种好的方法吧.呵呵,下面简单的demo可以作为参考:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1Code... 阅读全文
posted @ 2008-02-16 10:20 Lucky Jack 阅读(1193) 评论(3) 推荐(0) 编辑
摘要: 前几天在做项目时,分别用03和05做,发现在判别文本框检验只能输入数字类型的数字时,在TextBox_KeyPress事件中e.keychar的属性有所区别,在VS2003下,是只读的,而在VS2005下是既可读又可写.所以在输入的数字是全角数字时,所处理的方法有所区别.现在把两种方法写下来:VS2003下: Code highlighting produced by Actipro CodeHi... 阅读全文
posted @ 2008-02-16 09:20 Lucky Jack 阅读(731) 评论(0) 推荐(0) 编辑