摘要: 前言 在开发一个点餐软件时,app的订单数据是使用本地Sqlite数据库,在提交订单数据后,当订单数据在后台(Mysql数据库)发生变化时(如:已买单),本地数据如何改变呢? 思路 前台在查询时,将后台订单数据以数组方式发送到前台进行更新(update) 实现 服务端实现 定义一类订单类 通过一方法 阅读全文
posted @ 2015-03-06 10:10 realhopezj 阅读(2993) 评论(0) 推荐(0) 编辑
摘要: 在使用sql访问Access日期字段,应在变量前后加#,例子:s:=Format(select xueshID,name,times,qukbz,skdate,banji from dianmjili where skdate =%s,[#+formatdatetime(yyyy/m/d,DateT... 阅读全文
posted @ 2015-03-06 09:21 realhopezj 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 处理:把整个工程的“Text file encoding”属性设为GBK,就不会有乱码了。设置方法:在eclipse中右击工程,点击弹出框最下面的“Properties”,然后在弹出的窗口左侧点击“Resource”,便可以在窗口的右部看到“Text file encoding”属性,点击“Othe... 阅读全文
posted @ 2015-03-06 09:15 realhopezj 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Eclipse打开时提示: failed to create the java virtual machine原因:C盘空间不够编辑删除 处理:1.用金山清理临时文件; 2.用金山手机卫士连接真实设备。 阅读全文
posted @ 2015-03-06 09:11 realhopezj 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 2960 监听端口:2监听1一、Switch#config tSwitch(config)#monitor session 1 destination interface f0/2Switch(config)#monitor session 1 source interface f0/1二、查看ex... 阅读全文
posted @ 2015-03-06 08:58 realhopezj 阅读(602) 评论(0) 推荐(0) 编辑
摘要: 一、VTP配置1.VLAN database2.(VLAN)#vtp domain wx3.(VLAN)#vtp server二、VLAN配置1.VLAN database2.(VLAN)#vlan 103.(VLAN)#vlan 11三、ACCESS端口配置1.(config)# int ran ... 阅读全文
posted @ 2015-03-06 08:57 realhopezj 阅读(937) 评论(0) 推荐(0) 编辑