NameValueCollectionValueProvider
2015-07-03 13:20
477 查看
NameValueCollectionValueProvider provider = new NameValueCollectionValueProvider(nameValueCollection, CultureInfo.InstalledUICulture); if(Type==typeof(string)){
var a = provider.GetValue("a").AttemptedValue;
} else {
var a = provider.GetValue("a").convert(Type)
}
可以把Requert传进去 假如字段类型为字符串 就能获取以逗号分隔的字符串,
相关文章推荐
- iOS 自定义UINavigationController返回按钮
- setuid,setgid,sticky
- HDU 3415 Max Sum of Max-K-sub-sequence 最长K子段和
- UI_拖动View
- 以 DirectUI 方式实现的ImageButton
- androidstuido使用问题总结一
- UI_触摸事件
- 纯UILabel实现文字的竖排显示
- 继承UILabel类实现Label竖直对齐
- hdu 1908 double queues
- Absolute paths & require()
- 获取运行中的TeamViewer的账号和密码(Test on English GUI)
- hibernate : No positional parameters in query 错误解决办法
- IOS开发学习笔记——UITabBarController
- [tarjan] hdu 3836 Equivalent Sets
- Android 建造者(Builder)模式
- 如何使用NSOperations和NSOperationQueues(二)
- 设计模式读书笔记:Builder(建造者)
- UEFI是什么?与BIOS的区别在哪里?UEFI详解!
- iOS UINavgationController、 UINavigationBar、 UINavigationItem关系分析