码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
json2.js 使用
参考:http://www.cnblogs.com/youring2/archive/2013/03/01/2938850.htmlgithub地址:https://github.com/douglascrockford/JSON-js序列化,json对象化转string var jsonObj =...
分类:Web程序   时间:2015-06-05 17:27:24    阅读次数:167
上传文件到服务器上先创建文件夹
using System.IO;string directory = "UploadPhotos/"; //在服务器上创建上传图片存储的文件夹if (!Directory.Exists(Server.MapPath(directory))...
分类:Web程序   时间:2015-06-05 17:24:12    阅读次数:154
通过Ajax post Json类型的数据到Controller
function getVehiclesPreLocation(dataArray) { var arr = new Array(); for (var i = 0; i >(data); string jsonString = _srv.GetData(noList); return Json(j...
分类:Web程序   时间:2015-06-05 17:18:29    阅读次数:165
c# 将json转换为DataTable
/// /// 将json转换为DataTable /// /// 得到的json /// public static DataTable JsonToDataTable(string strJson) { ...
分类:Windows程序   时间:2015-06-05 17:12:25    阅读次数:139
VBA
class Program { static void Main(string[] args) { var dt = new System.Data.DataTable(); dt.Columns.Add("#"); ...
分类:编程语言   时间:2015-06-05 17:05:02    阅读次数:155
一种字节转字符串的语法
ASCIIEncoding encoder = new ASCIIEncoding(); string Str = encoder.GetString(message, 0, bytesRead);
分类:其他好文   时间:2015-06-05 15:35:27    阅读次数:116
Android读程序包的资源
private static final String ENCODING = "utf-8"; public static String loadText(Context context, String assetFilePath){ InputStream is = n...
分类:移动开发   时间:2015-06-05 15:35:20    阅读次数:142
Mybatis传多个参数(三种解决方案)
第一种方案DAO层的函数方法1Public User selectUser(String name,String area);对应的Mapper.xml123其中,#{0}代表接收的是dao层中的第一个参数,#{1}代表dao层中第二参数,更多参数一致往后加即可。第二种方案此方法采用Map传多参数....
分类:其他好文   时间:2015-06-05 15:35:09    阅读次数:123
使用NPOI导入Excel注意日期格式和数字格式
//使用NPOI导入Excel public static DataTable importExcelToDataSetUsingNPOI(string FilePath, string fileName) { DataSet myDs = new DataSet(); ...
分类:其他好文   时间:2015-06-05 15:34:41    阅读次数:202
《JavaScript高级程序设计》——笔记(1)
1.数据类型:5种简单数据类型——Undefined,Null,Boolean,Number,String 1种复杂数据类型(引用类型值)——Object 1.1 Undefined 包含“undefined”的变量与尚未定义的变量的区别var message;alert(messag...
分类:编程语言   时间:2015-06-05 15:32:44    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!