在Default.aspx里面,我们会透过javascript建立两个物件,分别有Name和Age的属性,再透过Array的方式,将这两个物件塞到Array里面去。使用Ajax内建的$.ajax
API,我们可以把url,type,data,sucess等几个属性先设定好,其中要注意到当我们想透过j...
分类:
Web程序 时间:
2014-05-26 16:35:17
阅读次数:
297
不能再简化了#include#include#includeint
meng_read_proc(char*page,char**start,off_t offset,int count,int*eof,void*data){
char*s="Hello. This is meng p...
分类:
系统相关 时间:
2014-05-26 15:52:49
阅读次数:
463
不清楚DES算法的可以看维基百科<?phpclass DESede{ /** * 加密 *
@param $data 待加密明文 * @param $key DES私钥 * @param $use3des 是否启用3DES加密,默认不启用 */
f...
分类:
Web程序 时间:
2014-05-26 15:48:34
阅读次数:
1169
首先,下载MySql.Data.dll,并将它放在你的工程目录下的Dubug下。其次,右键点击你的项目名字,选择“添加引用”,将MySql.Data.dll添加到项目中最后,在代码页中输入using
MySql.Data.MySqlClient; 然后,就可以使用这个类库来建立连接了。建立连接代码:...
分类:
数据库 时间:
2014-05-26 14:41:36
阅读次数:
421
链表struct Node{int data;//数据域struct Node
*next;//指针域};//基本操作:创建,插入,删除,打印[百科示例]无需事先知晓链表数据的长度,充分利用内存空间,事先灵活的内存动态管理。链表允许插入和移除表上任意位置上的节点,但是不允许随机存取。因为它包含指向另...
分类:
其他好文 时间:
2014-05-26 14:16:31
阅读次数:
357
#include#include#include#include using namespace
std;template class joseph{ struct node { T data; node * next; node():next(...
分类:
编程语言 时间:
2014-05-26 13:58:27
阅读次数:
215
由于没话多少时间,这个扫雷我只实现了主要功能(扫雷功能,递归实现)废话不多说,直接上代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.D...
分类:
其他好文 时间:
2014-05-26 13:57:23
阅读次数:
305
使用Struts框架后,
Struts2框架不会处理multipart/form-data的请求,它需要调用其他的上传文件框架来解析二进制数据。但是Struts在原有的上传解析器基础上做了很多的封装,简化了文件上传。主要是在Struts核心包中的default.properties文件中的文件解析器...
分类:
其他好文 时间:
2014-05-26 13:47:44
阅读次数:
235
Thequerygives the data needed to populate fields of
the Solr document in full-importThedeltaImportQuerygives the data needed to
populate fields when r...
分类:
其他好文 时间:
2014-05-24 08:02:49
阅读次数:
286
select T.COLUMN_NAME,t.data_type ,c.comments from
ALL_TAB_COLUMNS T ,user_col_comments c where 1=1 and c.table_name = t.table_name
and c.c...
分类:
数据库 时间:
2014-05-24 07:57:41
阅读次数:
266