private void CreateExcel() { string header =
string.Empty; string line = string.Empty; try { dltDataBind(); Response.Clear();
Response.Buffer = true;....
分类:
其他好文 时间:
2014-06-29 14:28:54
阅读次数:
235
1,function ,包括 arguments, caller,length,name
,prototype,__proto__,2,prototype,又分为constructor:function ()
{},__proto__:Object,3,__proto__从别的原型链继承过来可以直接...
分类:
其他好文 时间:
2014-06-29 13:59:16
阅读次数:
327
判断类型之前,先要清楚有哪些类型。(理理思路:程序由数据和方法构成,数据由简单数据和复杂数据构成)即类型有:
数据(简单数据:boolean,string,num,undefined,null。复杂数据:object),
方法(function)万能的typeof,神一样的方法 typeof(...
分类:
编程语言 时间:
2014-06-07 05:40:05
阅读次数:
309
一.首先明确一点:equals()方法和hashcode()方法是Object类里的方法。
查看源码可以知道,在Object类中equals(obj)方法直接返回的是 this ==
obj的值。对于引用变量来说,这个式子判断的是变量中存储的内存地址是否一致。而hashcode()方法的出现,目的....
分类:
其他好文 时间:
2014-06-07 05:35:47
阅读次数:
241
#include #include struct pos2d{ int x; int
y;};using namespace std;int main(){
//boost::interprocess::shared_memory_object类是按照单个字节的方式读写共享内存,用...
分类:
其他好文 时间:
2014-06-07 03:57:20
阅读次数:
277
object-c 封装set方法 // - (void)setAge:(int)nerAge;1.
作用: 提供一个方法给外界设置成员变量值,可以在方法里面对参数进行相应过滤2. 命名规则:1> 方法名必须以set开头2>
set后面跟上成员变量的名称,成员变量的首字母必须大写3> 返回值一定是v....
分类:
其他好文 时间:
2014-06-07 03:32:49
阅读次数:
157
//导出按钮protected void btn_Export_Click(object
sender, EventArgs e) { Model.article art = new BLL.Common().GetModel(this.id);
WriteHtml(art.content);//a...
分类:
其他好文 时间:
2014-06-07 03:04:09
阅读次数:
299
public class ImgPathConvert : IValueConverter {
public object Convert(object value, Type targetType, object parameter,
CultureInfo cultu...
分类:
其他好文 时间:
2014-06-07 02:49:49
阅读次数:
186
#include #include #include #include using
namespace std;int main(){
//boost::interprocess::shared_memory_object类是按照单个字节的方式读写共享内存,用起来不方便 boost::i...
分类:
其他好文 时间:
2014-05-30 12:56:14
阅读次数:
225
1 #include 2 #include 3 #include 4 //信号量与关键段 5
CRITICAL_SECTION g_cs; 6 HANDLE Empty,Full; 7 8 const int
BUFFER_SIZE=10;//10个缓冲池 9 const int numo...
分类:
编程语言 时间:
2014-05-30 09:20:55
阅读次数:
371