添加一个panel先private void panel7_Paint(object sender, PaintEventArgs e) { //LinearGradientBrush brush = new LinearGradientBrush(e.ClipR...
分类:
其他好文 时间:
2014-10-08 14:57:05
阅读次数:
538
1. Find foreign keys
SELECT
* FROM sys.foreign_keys
WHERE referenced_object_id
= object_id('Student')
2. Delete foreign keys
SELECT
'ALTER TABLE ' + OBJECT_SCHEMA_NAME(parent_object_id)
...
分类:
其他好文 时间:
2014-10-08 14:01:05
阅读次数:
243
protected void Button1_Click ( object sender, EventArgs e ) { Dictionary DicTest = new Dictionary(); DicTest.Add( "a", "1" ); DicTest.Add( "b", "2" );...
分类:
其他好文 时间:
2014-10-08 13:52:25
阅读次数:
165
该篇文章主要讲述了Python文件基础知识,包括文件的打开、读写、关闭操作、使用循环读写文件及迭代器的知识. file_obj=open(filename[, mode[, buffering]]) 返回一个文件对象(file object) — filename文件名(唯一强制参数),希望对大家有所帮助...
分类:
编程语言 时间:
2014-10-08 13:41:25
阅读次数:
249
1、Properties
public class PropertiesTest {
public static HashMap hashMap = new HashMap();
public static String filename = "my";
/**
* @param args
*/
public static void main(String[] args) {...
分类:
编程语言 时间:
2014-10-08 10:28:15
阅读次数:
170
今天晚上心血来潮装libevent和memcached,可是却出现了奇葩的问题,结果一看越来是引导文件的路径不对!我遇到 error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: ...
分类:
其他好文 时间:
2014-10-08 01:58:54
阅读次数:
230
http://aralejs.org/class/docs/competitors.htmlhttp://javascript.crockford.com/prototypal.htmlHere is another formulation:Object.prototype.begetObject ...
分类:
Web程序 时间:
2014-10-08 00:04:04
阅读次数:
275
在编写方法时,不确定这个方法要传入多少个参数,或者随着程序的开发速度,该方法的参数会发生很大变化,在C#中引入了params关键字,使用params修饰object类型的数组并作为方法的参数类型,可以解决方法参数不确定的问题。但是这里有一个问题,这个参数列表中的某个值不确定是否为空,就会发生运行.....
分类:
其他好文 时间:
2014-10-07 23:04:54
阅读次数:
223
static void Main(string[] args) {Int32 i = 10; object obj = new object(); //装箱操作,通常没有异常 try { ...
分类:
其他好文 时间:
2014-10-07 20:48:54
阅读次数:
146
内容概览:JavaScript简介JavaScript的基本语法JavaScript的基本应用JavaScript的事件处理window对象的使用JavaScript简介:JavaScript(Java脚本)是一种基于对象(Object)和事件驱动(Event Driven)并具有安全性能的脚本语言...
分类:
编程语言 时间:
2014-10-07 19:56:14
阅读次数:
160