标签:
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传进去 假如字段类型为字符串 就能获取以逗号分隔的字符串,
NameValueCollectionValueProvider
标签:
原文地址:http://www.cnblogs.com/871735097-/p/4618387.html