2016年8月11日

sql解析

摘要: 我们都知道在Oracle中每条SQL语句在执行之前都需要经过解析,这里面又分为软解析和硬解析。在Oracle中存在两种类型的SQL语句,一类为 DDL语句(数据定义语言),他们是从来不会共享使用的,也就是每次执行都需要进行硬解析。还有一类就是DML语句(数据操纵语言),他们会根据情况选择要么进行硬解 阅读全文

posted @ 2016-08-11 16:31 荆小轲 阅读(1331) 评论(0) 推荐(0) 编辑

2016年1月28日

模态窗口跳转问题

摘要: 前面解决了模态窗口的刷新问题,但是当使用location.href=url 时又回出现新打开页面的问题 可以用下面的方法解决; function go_link(url) { var link = document.createElement("a"); link.href = url; docum 阅读全文

posted @ 2016-01-28 17:44 荆小轲 阅读(363) 评论(0) 推荐(0) 编辑

2016年1月21日

模态窗口刷新问题

摘要: 模态窗口窗口刷新问题-当模态窗口刷新时,会新打开一个浏览器页面,解决办法在标签里添加添加JS方法$(function () { $("head").append("");}); 基本就能解决; 阅读全文

posted @ 2016-01-21 18:46 荆小轲 阅读(550) 评论(0) 推荐(0) 编辑

2015年2月5日

ArrayList 性能为什么差,来看看源码!

摘要: 都说ArrayList的性能差,这是为什么呢?我们知道Array是用数组的实现,初始化时要固定数组的大小。List是用链表实现,大小是可变的。而ArrayList是用数组实现的可变大小。源码:using System;namespace LinearList{ public class Arr... 阅读全文

posted @ 2015-02-05 10:44 荆小轲 阅读(278) 评论(0) 推荐(0) 编辑

2015年2月2日

c# 反射1

摘要: 根据反射为类中的属性赋值:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Collections;u... 阅读全文

posted @ 2015-02-02 17:49 荆小轲 阅读(105) 评论(0) 推荐(0) 编辑

2015年1月21日

c# 基础

摘要: const和readly都是不能修改值得变量,它们的区别是:const是在编译时确定的,readonly是在计算执行时确定的。所以const只能在声明时赋值,而readonly可以在构造函数中赋值。const默认就是静态的,而readonly想设为静态需要声明。const只能用null的引用类型(除... 阅读全文

posted @ 2015-01-21 22:23 荆小轲 阅读(202) 评论(0) 推荐(0) 编辑

2014年12月25日

设计模式学习--抽象工厂

摘要: public class AbstractFactory { public static I GetInstance(string nameSpace, string className) { Assembly a = Assembly... 阅读全文

posted @ 2014-12-25 13:54 荆小轲 阅读(97) 评论(0) 推荐(0) 编辑

设计模式学习--Singleton泛型类

摘要: /// /// Singleton泛型类 /// /// public sealed class Singleton where T : new() { private static T instance = new T(); ... 阅读全文

posted @ 2014-12-25 11:49 荆小轲 阅读(103) 评论(0) 推荐(0) 编辑

导航