摘要: 问题本质是asp程序对于大文件上传的问题,因此可以配置WebOffice或是IIS。 阅读全文
posted @ 2015-03-09 22:09 阿日斯兰 阅读(532) 评论(0) 推荐(0) 编辑
摘要: data:'title='+escape(title.value)+'&content='+escape(content.value),)使用escape编码,注意需要utf8。例如:data:'title='+escape(title.value)+'&content='+escape(conte... 阅读全文
posted @ 2015-01-15 16:20 阿日斯兰 阅读(1113) 评论(0) 推荐(0) 编辑
摘要: 传递端:加上escape()。例:document.all.WebOffice1.HttpAddPostString("DocTitle",escape(myform.txtTitle.value));接收端:Server.UrlDecode();例:DocTitle =Server.UrlDeco... 阅读全文
posted @ 2014-12-30 22:36 阿日斯兰 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 当上传文件为Office2007及以上版本时,Office再打开上传文档时提示文件损坏。解决方案:document.all.WebOffice1.OptionFlag|=0x0003;强制保存为.xls 阅读全文
posted @ 2014-12-30 22:32 阿日斯兰 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Control-/: 对一行注释或取消注释。对于多行也同样适用。Control-Q: 回到最后一次编辑的地方Control-O: 快速概要(quick outline)。shift+enter(ctrl+shift+enter):在当前(或后)创建一个空白行Alt+方向键:快速移动行ctrl+2,L:为本地变量赋值alt+shift+r:重命名Control-Shift-F: CodeàJavaàPreferencesà根据代码风格设定重新格式化代码Control-/: 对一行注释或取消注释。对于多行也同样适用。更多快捷键http://www.blogjava.n 阅读全文
posted @ 2014-04-02 18:26 阿日斯兰 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 菜单栏里面点Window->Preference->General->Appearance->Colors and Fonts,再在右边的框里选Java->Java Editor Text Font(overrides default:Text Font),然后再点右边的Edit按钮,编辑好了点确定,再OK就行啦。 阅读全文
posted @ 2014-04-02 16:53 阿日斯兰 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 开发过程中常遇到这种情况,在打开eclipse的时候,弹出对话框,提示“Building workspace has encountered a problem. Errors during build.”解决方法:这个问题说的是创建工作路径错误,所以我们要看看workspace是否设置正确,是否曾经用过两个不同的workspace,我们可以把这两个全部删除或者删除当前正在使用的工作空间的文件夹(删除前记得备份此工作空间中的代码),再重新创建一个就好了。例如你当前正在使用的工作空间文件夹为C:\Documents and Settings\Administrator\workspace这个工作 阅读全文
posted @ 2013-11-12 10:02 阿日斯兰 阅读(1534) 评论(0) 推荐(0) 编辑
摘要: 在任务管理器中关闭adb.exe进程。sdk->platform-tools->adb.exe,fastboot.exe. 阅读全文
posted @ 2013-11-07 15:17 阿日斯兰 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 项目->属性->Android->Project Build Target选择你现有的Target,保存。新配置的ADT环境可能需要把编码选择为UTF-8. 阅读全文
posted @ 2013-11-07 15:15 阿日斯兰 阅读(3995) 评论(0) 推荐(0) 编辑
摘要: Cursor cursor = db.rawQuery("select _id,NAME"+ "from table ", null);SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, R.layout.activity_item,cursor, new String[] { "_id", "NAME" }, new int[]{ R.id.item_ID, R.id.item_Name });注意:SimpleCursorAdapter中字段名 阅读全文
posted @ 2013-10-28 14:17 阿日斯兰 阅读(159) 评论(0) 推荐(0) 编辑