How to Write a Provider Model
摘要: How to Write a Provider ModelIn this article Keyvan teaches you how to write your own data provider for .NET applications using the provider model.After the birth of .NET 2.0, the provider model becam...
阅读全文
posted @
2008-04-28 10:54 josephshi 阅读(99) |
评论 (0) 编辑
Retrieving middle rows from a table
摘要: For retrieving the middle rows of a table irrespective of its columns needs to write a procedure which will take 3 parameters.First parameter: The first parameter is the query of the particular table ...
阅读全文
posted @
2008-04-28 09:55 josephshi 阅读(64) |
评论 (0) 编辑
Snap it! - How to take a screen shot using .NET
摘要: IntroductionWe all would have used snap shots (screen shots) to illustrate bugs or behavior or something that others could understand by seeing them. For taking snap shots we just hit the "Print Scree...
阅读全文
posted @
2008-04-24 09:30 josephshi 阅读(199) |
评论 (0) 编辑
我用hsqldb
摘要: 因为项目需要使用Pentaho,看了不少文档,其中说道报表时,使用工具pentaho-report-design-wizard-1.6.0.GA-667做报表要用到hsqldb,也不晓得其他数据库支持不,先下了一个最新版本的hsqldb,解压出现目录,如下├─bin├─build│ └─packaging│ ├─pkg│ │ └─cfg│ └─zaurus│ └─package│ ├─CONTRO...
阅读全文
posted @
2008-04-16 16:55 josephshi 阅读(270) |
评论 (0) 编辑
找出闰年
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;namespaceConsoleApplication1{classProgram{staticvoidMain(string[]args){List<int>leap1=newList<int>();List<int>leap2=newLi...
阅读全文
posted @
2008-04-10 13:16 josephshi 阅读(40) |
评论 (0) 编辑
"一个特牛的日期时间判断正则表达式"--我的修改版
摘要: 在网上搜索有关日期YYYY-MM-DD的正则表达式出现不少标题为<<一个特牛的日期时间判断正则表达式>>的连接,本人也采用了,但是在08年2月29日时,正好测试页面,不经意间就选择了当天的日期,结果RegularExpressionValidator显示了错误提示,于是我自己觉得很纳闷,WHY,难道"特牛"的有问题?于是再次测试果然......无语中...算了,还是自己修改...
阅读全文
posted @
2008-04-10 12:59 josephshi 阅读(470) |
评论 (0) 编辑
Copy a table from one database to another in SQL Server 2005
摘要: If you have a table in a database and you would like to copy the table to another database, use this query:SELECT * INTO AdventureWorks.dbo.CustomersTemp FROM Northwind.dbo.CustomersJustremember that ...
阅读全文
posted @
2008-04-07 10:48 josephshi 阅读(306) |
评论 (0) 编辑
个人用Mozilla FIREFOX的感受
摘要: 用了好久的FF了记不清楚了,很小很小就开始用了,,用其还是觉得稍有不便,习惯了也就是那么回事.FF的皮肤很是吸引人,插件兰更是了得,很多插件啥子页面纠错的,页面剪切板,书签管理器太多了,今天想说的一个叫StumbleUpon的插件,起初个人也没有咋个在意就装其用了,随后发现用处很是强大.最开始会叫你去其网站注册一个用户,很简单,注册完毕会领导你去选择你感兴趣的topics.选好后,回到FF上,有了...
阅读全文
posted @
2008-04-03 14:13 josephshi 阅读(35) |
评论 (0) 编辑
RSS阅读量大于页面访问量
摘要: 突然发现RSS的阅读量比页面访问量高好多,有了科技的东西是要方面的多,干啥子都有捷径了,这些做的很好的faces真是给枯燥的文本带来了活力..希望收了RSS的朋友还是有空来页面上来看看哈...
阅读全文
posted @
2008-04-03 13:58 josephshi 阅读(61) |
评论 (1) 编辑
美工太差,效果不好看
摘要: 公司比较娇小,没有固定美工,逼到莫法我也要看看设计方面的东西,这几天找了一下看一下,设计还是技术含量很高的活路,最厉害的就是风格的确定,其中布局和配色尤其是像我这种白痴级别人的大难题.发现很多效果都要使用CSS/JS才能很好的呈现出来,做个效果图太难了.询问老婆以后发现(lp专业设计)隔行如隔山的道理真实存在的.老婆现在操作如何做VISTA效果界面,复杂...哦...看来我还是能修改别人的就可以了...
阅读全文
posted @
2008-04-03 13:54 josephshi 阅读(73) |
评论 (0) 编辑
有点怪怪的
摘要: 自己的这个博客说起来真是有点让人觉得怪怪的,几乎所有文章都是转载的,说起来这个博客倒有点像网络优盘了.没有自己的原创的东西始终觉得心理少点什么,哎...可惜自己又是个不怎么主动写东西的人,头脑里面又没有什么自创的东西,可能由于未知太多的缘故吧.不过本人还是相信有了输入才有输出,积累是一个过程...
阅读全文
posted @
2008-04-03 09:28 josephshi 阅读(36) |
评论 (0) 编辑
ASP.NET Validation Controls – Important Points, Tips and Tricks
摘要: ASP.NETvalidation controls provide an easy-to-use but powerful mechanism ofensuring that data is entered correctly on the forms. There are 6validation controls included in the ASP.NET 2.0 and ASP.NET ...
阅读全文
posted @
2008-04-02 14:57 josephshi 阅读(406) |
评论 (0) 编辑
Highlight a Row in GridView without a postback using ASP.NET and JavaScript
摘要: Selectinga row in the GridView causes a postback. In order to highlight a row inthe GridView, you have to set the ‘SelectedRowStyle’ property whichtakes effect when the postback occurs. In...
阅读全文
posted @
2008-04-02 14:46 josephshi 阅读(393) |
评论 (0) 编辑