private List GetOrganiztions(){var organizations = new List();organizations.Add(new Model.Organization.Organization{Id = "1",Name = "一汽",});organizati...
分类:
Web程序 时间:
2014-06-28 20:19:29
阅读次数:
230
var time ="/Date(1279270720000+0800)/";var tme1 = ChangeDateFormat(time); alert(tme1);JS方法为: function ChangeDateFormat(cellval) { var date = new Da...
分类:
Web程序 时间:
2014-06-28 17:46:58
阅读次数:
262
方法一:在Arcmap中转换:1、载入要转换的数据,右下角为经纬度2、点击View——Data Frame Properties——Coordinate System3、导入或选择正确的坐标系,确定。这时右下角也显示坐标。但数据没改变4、右击图层——Data——Export Data5、Use th...
分类:
其他好文 时间:
2014-06-28 17:30:44
阅读次数:
675
Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l...
分类:
其他好文 时间:
2014-06-28 15:14:05
阅读次数:
194
最近由于项目的需要,研究了一下protobuf。在这里分享一下经验,具体介绍网上也有不少,可以百度先了解一下。ProtoBuf在as中主要就是序列反序列化的作用,我们主要用它来代替amf,因为像c++这类语言不支持amf。1.AS有两种方案,一种是官方的,还是一种是国人写的。这里先介绍官方的。首先介...
分类:
其他好文 时间:
2014-06-28 14:38:28
阅读次数:
148
$.fn.serializeObject = function () { var obj = {}; var count = 0; $.each(this.serializeArray(), function (i, o) { ...
分类:
Web程序 时间:
2014-06-24 09:29:04
阅读次数:
319
读写函数分别例如以下:import java.io.FileInputStream;import java.io.FileOutputStream;import java.util.Properties;public Properties loadConfig(Context context, St...
分类:
移动开发 时间:
2014-06-21 08:54:22
阅读次数:
323
需要以下jar包:---log4jcommons-loggin-1.1.1.jarlog4j-1.2.16.jar---mysqlmysql-connector-java-5.1.15-bin.jar---log4j.properties配置内容log4j.rootLogger=INFO,DATAB...
分类:
数据库 时间:
2014-06-20 16:11:50
阅读次数:
206
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted fr...
分类:
其他好文 时间:
2014-06-20 15:29:46
阅读次数:
233
表单序列化首先了解一下浏览器如何将数据发送给服务器对表单字段的名称和值进行URL编码,使用和号(&)分隔不发送禁用的表单字段只发送勾选的复选框和单选按钮不发送type为“reset”和“button”的按钮多选选择框中的每个选中的值单独一个条目在单击提交按钮提交表单的情况下,也会发送提交按钮;否则,...
分类:
编程语言 时间:
2014-06-20 14:06:30
阅读次数:
288