上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 33 下一页
摘要: 1.需要解析的XML字符串,获取 BookedInfo 集合 string xmlStr = @"<Request> <BookedInfos> <BookedInfo> <CHARGECODE> 收费项编码 </CHARGECODE> <HISDEPTCODE> His科室代码 </HISDEPT 阅读全文
posted @ 2021-09-07 14:20 超级驼鹿 阅读(573) 评论(0) 推荐(0)
摘要: /// <summary> /// 两个对象中相同属性赋值,R代表目标实体,T代表数据源实体 /// </summary> public static R MappingObject<R, T>(R newData,T oldData) { if (newData == null) { newDat 阅读全文
posted @ 2021-08-05 15:20 超级驼鹿 阅读(348) 评论(0) 推荐(0)
摘要: /// <summary> /// 设置对象中为空的属性值,即对象的所有属性均有值(集合数组属性不能设置) /// </summary> /// <typeparam name="T"></typeparam> /// <param name="source">数据源</param> /// <pa 阅读全文
posted @ 2021-07-08 08:42 超级驼鹿 阅读(117) 评论(0) 推荐(0)
摘要: 1.问题:返回的xml字符串含有 &lt &gt 2.使用 using System.Web 中的方法 HttpUtility.HtmlDecode(str) 实现 反转义 解密 HttpUtility.UrlEncode(str)实现转义 加密 阅读全文
posted @ 2021-06-17 11:59 超级驼鹿 阅读(1799) 评论(0) 推荐(0)
摘要: 1.封装被调用库 public delegate string CallBack(string message); public int MyInterfance(CallBack cb) { return cb("张天才"); } 2.使用调用库 int ret = MyInterfance(ca 阅读全文
posted @ 2021-06-10 18:26 超级驼鹿 阅读(118) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 33 下一页
/*