js:c#: protected string BrowType = "ie"; protected void Page_Load(object sender, EventArgs e) { System.Web.HttpBrowserCapabilities bro...
分类:
其他好文 时间:
2014-06-27 20:23:30
阅读次数:
250
1、类、子类与函数定义: class Animal(object): # object 继承object类。 Paw=True Age=1 def Eat(self,a): print(a)class Tiger(Animal): # object 继承Animal类...
分类:
编程语言 时间:
2014-06-27 20:17:22
阅读次数:
193
JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。 易于人阅读和编写。同时也易于机器解析和生成。 它基于JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 19...
分类:
Web程序 时间:
2014-06-27 19:23:26
阅读次数:
211
先上代码: string b = "123"; private void Form1_Load(object sender, EventArgs e) { Test(b); MessageBox.Show(b); } ...
分类:
其他好文 时间:
2014-06-27 18:59:05
阅读次数:
290
利用了xmlhttp,实现代码比较简单具体实现如下:首先bin文件引入,com->microsoft xml v3.0具体代码如下:protected void Button1_Click(object sender, EventArgs e) { string FileName...
分类:
Web程序 时间:
2014-06-27 18:46:08
阅读次数:
302
Student No.: _______________ Name: ________________________________________1TK2934 Object-Oriented ProgrammingProject : GUI & EventIn this lab you wil...
分类:
其他好文 时间:
2014-06-26 12:57:21
阅读次数:
330
1 USE [zxerp] 2 GO 3 /****** Object: StoredProcedure [dbo].[Pro_GrossProfitCount] Script Date: 06/26/2014 08:48:10 ******/ 4 SET ANSI_NULLS O...
分类:
数据库 时间:
2014-06-26 12:54:25
阅读次数:
558
This post introduces how to use the module pattern to limit the access scope of the methods of object or constructor in the module.
分类:
编程语言 时间:
2014-06-26 12:19:06
阅读次数:
231
VAR 是3.5新出的一个定义变量的类型
其实也就是弱化类型的定义
VAR可代替任何类型
编译器会根据上下文来判断你到底是想用什么类型的
至于什么情况下用到VAR 我想就是你无法确定自己将用的是什么类型
就可以使用VAR 类似 OBJECT
但是效率比OBJECT高点
使用var定义变量时有以下四个特点:
1. 必须在定义时初始化。也就是必须是var...
分类:
其他好文 时间:
2014-06-26 12:13:11
阅读次数:
155
Single Table Inheritance
Class Table Inheritance
Concrete Table Inheritance...
分类:
其他好文 时间:
2014-06-26 10:16:41
阅读次数:
285