昨天有在开发的软件生产线生产流程,RFID扫描IC卡的数据,当中有用到jQuery获取一般处理程序(ashx)的JSON数据。今有把它写成一个小例子,望需要的网友能参考。在网站中,创建一个一般应用程序ashx:命名空间:using
System.Data;using System.Collectio...
分类:
Web程序 时间:
2014-05-07 16:55:32
阅读次数:
452
Chef and The Right Triangles
The Chef is given a list of N triangles. Each triangle is identfied by the coordinates of its three corners in the 2-D cartesian plane. His job is to figure out how m...
分类:
其他好文 时间:
2014-05-07 16:28:35
阅读次数:
314
题目如下:
The Dole Queue
In a serious attempt to downsize (reduce) the dole queue, The NewNational Green Labour Rhinoceros Party has decided on the followingstrategy. Every day ...
分类:
其他好文 时间:
2014-05-07 15:46:40
阅读次数:
235
使用notepad++编辑本地文件 tomcat:
/usr/tomcat/logs/catalina.out {
copytruncate
daily
dateext
nocompress
missingok
}
参考下图部署此文件到linux服务器:...
分类:
系统相关 时间:
2014-05-07 15:43:16
阅读次数:
462
AfterLogic
webmail修改密码插件,下载位置http://www.afterlogic.com/wiki/Password_change_for_hMailServer_(WebMail_Plugins)?WM=Lite复制到\webmail\data\plugins\hmailser...
分类:
Web程序 时间:
2014-05-07 14:23:47
阅读次数:
1097
ref
关键字使用参数按引用传递,而不是值,通过引用传递的效果是在方法中对参数的任何修改都会反映在调用方法
的基础参数中。引用参数的值与基础参数变量的值始终是一样的。1.若要使用 ref 参数,则方法定义和调用方法都必须显示使用 ref关键字2.传递到 ref
参数必须先初始化,这与out不同,ou...
分类:
其他好文 时间:
2014-05-07 14:09:21
阅读次数:
295
Problem:Work out the first ten digits of the
sum of the following one-hundred 50-digit
numbers.3710728753390210279879799822083759024651013574025046376...
分类:
其他好文 时间:
2014-05-07 13:34:38
阅读次数:
299
1.切换工作目录git checkout step-4 #切换分支,切换到第4步npm
start #启动项目2.代码app/index.htmlSearch: Sort by: {{phone.name}} {{phone.snippet}}
app/controllers....
分类:
Web程序 时间:
2014-05-07 11:05:47
阅读次数:
527
1、介绍 之前在很多地方一直见到这个Spring Data
神奇的东西,不知道是啥东东,终于,今天来简单的探个究竟,底下是我从网上整理来的……
首先,解释下为啥要使用Spring来集成MongoDB:因为mongoDB的java驱动程序使用起来较为繁琐,特别是处理关联关系多、层次深的情况时。需要.....
分类:
数据库 时间:
2014-05-07 00:56:44
阅读次数:
511
params,ref,out都是方法参数
首先类似这样的,传递的参数args添加了params修饰public void OpenWindow(params object[] args){ int
id=args[0]; Hashtable tab=(Hashtable)args[1];}publi...
分类:
其他好文 时间:
2014-05-07 00:03:52
阅读次数:
402