Havij v1.13 Pro CracKed By Hmily[LCG][DST]
2010-12-13 14:51
225 查看
XMLopr xmlpro = new XMLopr(); string xmlpath = WebConfigurationManager.AppSettings["fileinfo_Filexmlpath"].ToString(); xmlpath = Server.MapPath(xmlpath); Dictionary<string, string> filedmap = xmlpro.ReadXmlFiled(xmlpath); if (filedmap == null) { result="读取字段匹配设置文档失败!"; return result; } int i = 0; foreach (KeyValuePair<string,string> keypair in filedmap) { //获取值 string value =dr[keypair.Key.Trim()]==null?"":dr[keypair.Key.Trim()].ToString().Trim(); //获取映射字段 string mapfiled = keypair.Value.Trim(); //判断映射字段类型 PropertyInfo property = fileModel.GetType().GetProperty(mapfiled); if (property.PropertyType.Name.ToLower().Equals("string")) { property.SetValue(fileModel,value,null); } else if (property.PropertyType.Name.Equals("int32")) { property.SetValue(fileModel, int.Parse(value), null); } else if (property.PropertyType.Name.Equals("DateTime")) { if(value.Trim()!=string.Empty) property.SetValue(fileModel,DateTime.Parse(value), null); } }
本文出自 “技术人” 博客,请务必保留此出处http://1777783.blog.51cto.com/1767783/1281586
相关文章推荐
- [网络安全检测软件]Acunetix Web Vulnerability Scanner 6{破解版}CracKed By Hmily/[LCG]
- Sublime Text 3 Build 3065 All System CracKed By Hmily[LCG]
- [网络安全检测软件]Acunetix Web Vulnerability Scanner 6{破解版}CracKed By Hmily/[LCG]
- BB.Flashback.Pro.v4.1.1.2498.Cracked.by.yoza[UpK]
- 黑马文件加密器破解版 Cracked.By.HackWm.
- 文件夹加锁王2008钻石破解版 Cracked.By.HackWm.
- EmEditor Pro v7.50 Alpha 8.Incl.KeyGen by ZWT
- Caused by: io.protostuff.ProtobufException: Protocol message contained an invalid tag (zero).
- EZ CD Audio Converter 2.7.0.1 (x86/x64) cracked by XenoCoder
- 小兵安装包制作工具破解版 Cracked.By.HackWm[D.S.T]
- Memory Hacking Software MemHack 3.0.1.4 Pro by L. Spiro
- 文件巴士v3.0破解版 Cracked.By.HackWm.
- Absolute MP3 Splitter Cracked.By.HackWm.
- Pro SQL Server 2005 Database Design and Optimization by Louis Davidson
- 【错误】 no rule make target '../new/new_pro',needed by 'Makefile'.stop
- VB代码库v1.1破解版 Cracked.By.HackWm.
- Deployment Procces by Rowan Simpson
- Armadillo v6.04 Custom Build 0056, 0335, 0447 Cracked by stephenteh
- <环境>win10运行markdownpad2 报弹框: this file has been modified by another progream , ... HTML Rendering Er
- Pro SQL Server 2005 by Thomas Rizzo