上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 42 下一页
摘要: Ext是Extjs的命名空间,为Extjs框架提供唯一的全局变量这样做可以避免冲突,便于代码维护1,apply和applyif方法apply=function(object, config, defaults):Copies all the properties of config to the specified object.applyif=function(object, config):Copies all the properties of config to object if they don't already exist(extend方法已经被丢弃,不做介绍)2,ty 阅读全文
posted @ 2014-03-05 09:34 尼姑哪里跑 阅读(7208) 评论(0) 推荐(0) 编辑
摘要: FireFox1.firedebug(略)2.illuminations在illuminations页面可也看到缩写的extjs的代码,同时可以进行相应的调试3,Firedebug AutoCompleterfirefox中自带的智能感知智能在单行模式下运行,所以如果要在多行模式下调试可以安装: 阅读全文
posted @ 2014-03-04 15:09 尼姑哪里跑 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 1、差集( except )select a from t_aexceptselect a from t_b-- 也可写作:select a from t_a where a not in (select a from t_b)-- 多个字段时:select a,b from t_aexceptselect a,b from t_b-- 多字段的查集也可写成:select a,b from t_a where (a,b) not in (select a,b from t_b)2、交集(intersect )select a from t_aintersectselect a from t_b 阅读全文
posted @ 2014-03-04 10:39 尼姑哪里跑 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 1.配置实用Extjs 注:bootstrap.js的作用是用于 自动加载ext-all-debug.js或者ext-all.js 如果实用localhost或者ip的话,将启动ext-all-debug,否则启动ext-all.js2,动态加载Extjs类库 //开启自动加载 Ext.Loader.setConfig({ enable: true }); Ext.Loader.setPath("要加载的路径文件"); Ext.required(['Ext.grid.*', //需要加载的类库 ... 阅读全文
posted @ 2014-02-28 18:01 尼姑哪里跑 阅读(525) 评论(1) 推荐(0) 编辑
摘要: 1,编写class.jsvar classList=["Ext.layout.container.Absolute","Ext.layout.container.AbstractCard","Ext.AbstractComponent","Ext.AbstractManager","Ext.container.AbstractContainer","Ext.layout.container.AbstractFit","Ext.util.AbstractMixedCo 阅读全文
posted @ 2014-02-28 17:02 尼姑哪里跑 阅读(2527) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/isline/archive/2010/08/31/1813396.htmlSealed与Final修饰符其实并不是一个语言平台的产物,他们有着各自所属的语言环境,但这两个关键字都是.Net平台中不可或缺的,那么二者用法几何,随本文一探究竟。 一.Sealed sealed 修饰符可以应用于类、实例方法和属性。用于类时,该类被称为密封类,密封类不能被继承;用于方法时,该方法被称为密封方法,密封方法会重写基类中的方法;sealed修饰符应用于方法或属性时,必须始终与override一起使用;结构是隐式密封的,因此它们不能被继承。 ● 描述方法: 阅读全文
posted @ 2014-02-19 10:43 尼姑哪里跑 阅读(765) 评论(0) 推荐(0) 编辑
摘要: (转)http://hi.baidu.com/122439049/blog/item/0c9c48131b2734d5f7039e13.htmlrow_number() OVER (PARTITION BY COL1 ORDER BY COL2) 表示根据COL1分组,在分组内部根据 COL2排序,而此函数计算的值就表示每组内部排序后的顺序编号(组内连续的唯一的). 与rownum的区别在于:使用rownum进行排序的时候是先对结果集加入伪列rownum然后再进行排序,而此函数在包含排序从句后是先排序再计算行号码. row_number()和rownum差不多,功能更强一点(可以在各个分组.. 阅读全文
posted @ 2014-02-19 10:07 尼姑哪里跑 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 1,定义接口层,引用System.ServiceModelnamespace Contracts{ [ServiceContract(Name = "CalculatorService", Namespace = "http://www.test.com/")] public interface ICalculator { [OperationContract] double Add(double x, double y); [OperationContract] double Subtract(double x, do... 阅读全文
posted @ 2014-02-10 17:03 尼姑哪里跑 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 1,增加EntityFramework的引用2,创建实体类 public class Invoice { public Invoice() { LineItems = new List(); } public int ID { get; set; } public DateTime InvoiceDate { get; set; } public double Total { get; set; } public virtual ICollection LineIte... 阅读全文
posted @ 2014-01-22 10:59 尼姑哪里跑 阅读(598) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/legendxian/archive/2012/06/18/2553111.html 阅读全文
posted @ 2014-01-18 17:37 尼姑哪里跑 阅读(179) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 42 下一页