后退+刷新在C#
Web程序中,如为页面按钮写返回上一页代码this.RegisterClientScriptBlock("E",
"");其中,history.go(-2),要写为-2,因在按钮事件触发前,已刷新一次页面,所以应是-2。Response.Write("");此处也要写为“-2”。....
分类:
编程语言 时间:
2014-05-26 02:24:07
阅读次数:
383
I/O是input/output的缩写,即输入输出端口。从 文件、键盘、网络
等输入到java程序,再从java程序输出到 文件、显示器、网络等分类:1、输入流 和 输出流2、字节流 和 字符流3、节点流 和
处理流核心方法:read、write字节流例子:文件读取//导入io包import jav...
分类:
编程语言 时间:
2014-05-26 02:16:11
阅读次数:
313
字节流InputStream和OutputStream的子类:FileInputStream
和FileOutputStream方法:int read(byte[] b,int off,int len);void write(byte[] b,int
off,int len);字符流Reader和W...
分类:
编程语言 时间:
2014-05-26 01:00:09
阅读次数:
378
转载请注明原出处 write by xiaoyang 一、 测试 1.
使用客户机或者在域环境下编辑GPO打开组策略 2. 配置自动更新 3. 指定服务器 4. 自动更新检查频率 5. 取消所有来自windows upd...
分类:
其他好文 时间:
2014-05-26 00:27:55
阅读次数:
358
Write by xiaoyang 转载请注明出处 步骤一:创建域 基本配置 1. 输入命令进入配置
2. 输入8进入网络配置 3. 选择要配置的网卡 4. 配置网络地址和DNS服务器 5. 查看网卡信息 6. 配...
分类:
其他好文 时间:
2014-05-26 00:12:42
阅读次数:
376
Sencha removed the refreshFn from the pullrefresh
plugin in ST 2.2. Here is an user extension with gives the old functionality
back to you./** * This ...
分类:
其他好文 时间:
2014-05-25 19:39:42
阅读次数:
289
第6章 使用库算法
本章中主要教我们如何使用几个库算法来解决与处理字符串和学生成绩相关的问题。
1、分析字符串
使用一个循环来连接两幅字符图案
for(vector::const_iterator it = bottom.begin(); it != bottom.end(); ++it)
ret.push_back(*it);
等价于
ret.insert(ret.end(...
分类:
编程语言 时间:
2014-05-24 20:24:10
阅读次数:
365
socket模型:
1、阻塞模型
一个单进程accept阻塞,接收到客户端请求后,read消息,处理write返回,然后循环继续accept。
这种模型最最简单,不实际,没什么实际用途,对于新手教学还行。
2、多进程(线程)模型
主进程循环accept阻塞,接收到客户端请求后,fork子进程处理,子进程read阻塞,接收客户端消息并响应。
这种模型是我使用到...
分类:
其他好文 时间:
2014-05-24 19:50:08
阅读次数:
274
一,概念1,Back键一直存在android系统中1-1任何页面下的返回1-2Floatingwindow1-3ContexualActionbar/highlightselect1-4Keyboard2,Up键是随AndroidDesign出来的。2-1androidDesign定义的parentcontainer2-2app的主界面是不存在Up键的二,情景分析1,App内部1-1沿逐级深入路..
分类:
移动开发 时间:
2014-05-24 17:06:16
阅读次数:
317
Original Link:
http://blogs.flexerasoftware.com/installtalk/2011/10/i-take-it-all-back-using-windows-installer-msi-rollback-actions.html#sthash.KIIUKl...