在表单中通过jquery对numberbox进行赋值时,需注意,需使用$('#tell').numberbox('setValue', userInfo.Tell); 这样赋值。而如果使用$("#tell").val(userInfo.Tell);这样的赋值方法,在后台通过对象对numberbox进...
分类:
其他好文 时间:
2015-02-04 14:14:49
阅读次数:
394
在adapter中有mDatas。需要在EditText编辑完之后,将新的值赋给mDatas中。之前的做法,继承实现了一个TextWatcher类,构造函数中获得当前被点击item的position。然后mDatas.get(position).setValue(s.toString());可是不知...
分类:
其他好文 时间:
2015-01-27 20:09:38
阅读次数:
168
//数据验证Validata();//转换为集合DataTableToList();//数据异常处理SetValue();//文件导入ExcelImport(); 1 public class GenericExcelToList 2 { 3 public stati...
分类:
其他好文 时间:
2015-01-23 15:51:56
阅读次数:
139
1. mutating method sent to immutable object'从字面上理解:可变的消息发给了不可变的对象。比如NSDictionary类型的对象调用setValue方法.应该把NSDictionary 改成NSMutableDictionary类型。2.Local decl...
分类:
移动开发 时间:
2015-01-23 10:45:23
阅读次数:
179
改变textfield 的placeholder的大小方法: [_nameTextField setValue:[UIFont boldSystemFontOfSize:5] forKeyPath:@"_placeholderLabel.font"];
[_nameTextField setValue:[UIColor redColor] forKeyPath:@"_placeholderLab...
分类:
其他好文 时间:
2015-01-20 12:08:39
阅读次数:
194
using (RegistryKey key = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer")) { key.SetValue...
分类:
其他好文 时间:
2015-01-19 14:12:12
阅读次数:
193
我们经常要对表单里各种类型的字段进行读取或赋值,下面列出各种类型的读写方法及注意事项: 1. lookup 类型 清空值 var state = Xrm.Page.getAttribute("new_state");
if (state != null)
{
Xrm.Page.getAttribute("new_state").setValue(null);
}...
分类:
Web程序 时间:
2015-01-03 14:41:05
阅读次数:
221
今天在用iOS写个计算器的时候,遇到的一个小bug,新手,太新了,不之所错。直接上码:Terminating app due to uncaught exception 'NSUnknownKeyException', reason:'[ setValue:forUndefinedKey:]: th...
分类:
其他好文 时间:
2014-12-28 23:41:31
阅读次数:
250
【iOS开发-98】文件分段下载模拟:@“HEAD“和[request setValue:range forHTTPHeaderField:@"Range"]...
分类:
移动开发 时间:
2014-12-26 14:43:11
阅读次数:
197
-(void)viewWillAppear:(BOOL)animated{ [[UIDevice currentDevice] setValue:[NSNumber numberWithInteger:UIDeviceOrientationLandscapeLeft] forKey:@"ori...
分类:
其他好文 时间:
2014-12-24 17:47:49
阅读次数:
103