上一页 1 2 3 4 5 6 7 8 ··· 22 下一页
摘要: <?xmlversion="1.0"encoding="UTF-8"?><beansxmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema 阅读全文
posted @ 2011-04-28 14:14 Blue Sky ...... 阅读(635) 评论(0) 推荐(0) 编辑
摘要: publicclassArrayOperation{//二分查找算法publicstaticintbranchSearch(int[]array,intsearchNum){if(array==null)thrownewNullPointerException("NullReferrence");if(array.length==0)thrownewIllegalArgumentException("ArrayLengthisZero");intlow=0,high=array.length;intmiddle=(high+low)/2;intindex 阅读全文
posted @ 2011-04-07 13:33 Blue Sky ...... 阅读(5679) 评论(1) 推荐(0) 编辑
摘要: JAVA集合类介绍和使用类关系示意图Iterable(接口)│└--Collection(接口)├-List(接口)│├-LinkedList不同步(构造同步:Listlist=Collections.synchronizedList(newLinkedList(...));)│├-ArrayList不同步│└-Vector同步│ └--Stack同步└-Set├--EnumSet├--HashSet--LinkedHashSet└--TreeSetMap├--Hashtable├--HashMap--LinkedHashMap└--WeakHashMapMap接口:|+--WeakHashM 阅读全文
posted @ 2011-04-07 13:26 Blue Sky ...... 阅读(1260) 评论(0) 推荐(0) 编辑
摘要: --获取交集,也就是获取重复的记录SELECT*FROMEmployeeintersectselect*fromEmployee;--获取工资最高的前三条记录select*from(selectrow_number()over(orderbyWagedesc)asrownumber,Name,WagefromEmployee)astempwhererownumber<=3----Oracle基本操作学习笔记------1、Oracle中NULL处理函数:nvl()和nvl2()--nvl(expr1,expr2):如果expr1=null,择则返回expr2,否则返回expr1--nvl 阅读全文
posted @ 2011-04-07 13:23 Blue Sky ...... 阅读(665) 评论(0) 推荐(0) 编辑
摘要: silverlight3D 特效对象解释:1、LinearGradientBrushGradientStop:2、StackPanel.EffectDropShadowEffect:3、StackPanel.Projection:PlaneProjection:XAML代码实现:二维平面中变换形状变换:旋转(RotateTransform)创建一个RotateTransform并指定其Angle。45度的Angle将元素沿顺时针方向旋转45度;90度将元素沿顺时针方向旋转90度;依此类推。如果您要控制元素的旋转点,请设置CenterX和CenterY属性。这些属性值以要变换的元素的坐标空间表示 阅读全文
posted @ 2011-04-07 13:20 Blue Sky ...... 阅读(720) 评论(0) 推荐(1) 编辑
摘要: 新浪财经(http://vip.stock.finance.sina.com.cn/silverpulse/ 或 http://vip.stock.finance.sina.com.cn/silverlight/)pptv(http://cool.pptv.com/)江苏卫视(http://live.jstv.com/)中国人寿(http://pacs.clpc.com.cn/PACS/)qq(http://slqq.qq.com/)qtv(http://www.qtv.com.cn/)仿Windows 7:http://www.silveos.com/Silverlight Applicat 阅读全文
posted @ 2011-03-16 23:28 Blue Sky ...... 阅读(1083) 评论(2) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->典型用法:从ISession接口中创建ICriteria实例对象;在这个ICriteria实例对象上设置一个或多个表达式;要求ICriteria接口返回需要的列表,就是根据表达式从数据库中返回对象。1.创建ICriteria实例使用ISession接口的CreateCriteria方法创建了NHibernate.ICriteria接口一个特定的持久化类的查询实例,也可以说ISession是用 阅读全文
posted @ 2011-03-15 21:24 Blue Sky ...... 阅读(857) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->在项目中应用NHibernate架构时,会经常遇到多表查询,使用selectnewObjectEntity这种语法,根据查询的内容自己构建相应的实体类.这是一个小型家庭办公中的实例。有员工表Employee,姓名表Project,工作记录表EmpWorkRecord。一个员工有多条工作记录,工作记录与项目有关。Employee实体类与映射文件如下。publicclassEmployee{pr 阅读全文
posted @ 2011-03-15 21:23 Blue Sky ...... 阅读(5239) 评论(1) 推荐(3) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//顾名思义,微软消息队列(MSMQ)是一种给队列发送消息以便稍后进行处理的方法。//消息由一个“Producer”(生产者)应用程序发送出去,再由一个“Consumer”(消费者)应用程序返回。usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Messaging 阅读全文
posted @ 2011-03-15 21:21 Blue Sky ...... 阅读(689) 评论(0) 推荐(1) 编辑
摘要: Asp.Net基于Form验证 阅读全文
posted @ 2011-03-15 21:19 Blue Sky ...... 阅读(255) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 22 下一页