码迷,mamicode.com
首页 >  
搜索关键字:value    ( 37865个结果
NSNumber和Int之间的转换
int 转 NSNumber:[NSNumber numberWithInt:(int)];NSNumber 转 int[(NSNumber) intValue];其他数据类型类似有些数组只能存Object对象,所以需要将普通数据类型转换成为Object型。
分类:其他好文   时间:2014-07-16 23:25:42    阅读次数:194
Search Insert Position (LeetCode)
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:其他好文   时间:2014-07-16 23:16:32    阅读次数:156
.Net常用技巧_调用Excel模板格式导出Excel
object missing = System.Reflection.Missing.Value; //表示缺i省object SaveFileDialog savedialog = new SaveFileDialog(); savedialog.Filter = "(*.xlsx)|*.xlsx...
分类:Web程序   时间:2014-07-16 23:12:04    阅读次数:236
iOS学习笔记---oc语言第五天
字典,数组 ,集排序一、字典类存储以下数据name:张三; sex:男;age:18 film:风暴; playcount:10000次;price:60元字典类用于保存具有映射关系(key-value对)的数据对于“name:张三”来讲,key就是“name”,key对应的value是“张 三”一...
分类:移动开发   时间:2014-07-16 23:07:45    阅读次数:277
easyui 自定义验证,动态设置提示信息
//自定义验证规则 名称为name//$.fn.validatebox.defaults.rules.name.message 动态自定义提示内容$.extend($.fn.validatebox.defaults.rules, {name: {validator: function (value,...
分类:其他好文   时间:2014-07-10 13:40:49    阅读次数:207
[LeetCode] Search a 2D Matrix
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-07-10 12:37:21    阅读次数:189
delphi7 获取dbgrid指定行和列以及取得相应的数据
取得dbgrid选中行的行号DBGrid2.DataSource.DataSet.RecNo取得dbgrid选中行指定列的数据DBGrid2.Fields[0].Value;//第一列DBGrid2.Fields[1].Value;//第二列网上有种说法是假如你用的是 adoquery1那就是ado...
分类:数据库   时间:2014-07-10 11:47:41    阅读次数:1209
开发路程(6):Web.config配置文件中的属性add,key,value含义
这是添加自定义字符串的方式,保存是以键-值的形式保存的,可以通过key获取value,一般用这种方法配置全局内使用的字符串.是配置文件的根配置节.是自定义配置节,包含自定义应用程序设置.add元素是向应用程序设置集合添加名称/值对形式的自定义应用程序设置.代码:Web.config1 2 3 4 5...
分类:Web程序   时间:2014-07-10 11:30:53    阅读次数:199
格式化URL
//格式化url查询参数为jsonfunction formatUrl(url){ var reg=/(?:[?&]+)([^&]+)=([^&]+)/g; var data={}; function fn(str,pro,value){ data[decod...
分类:其他好文   时间:2014-07-10 10:16:51    阅读次数:167
Effective C++:条款33:避免遮掩继承而来的名称
(一) 下面这段代码: int x; void someFunc() { double x; //local variable std::cin>>x; //read a new value to local x } 这个指涉的是local变量x,而不是global变量x,因为内存作用域会的名称遮掩外围作用域的名称。当编译器处于someFunc的作用域内并遭遇...
分类:编程语言   时间:2014-06-28 07:58:25    阅读次数:281
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!