摘要: 一、弹窗js导入(主页面) <!--弹出框--> <script src="~/media/layer/layer.js"></script> <!--弹出框--> 二、html代码(主页面) <input type="text" id="E_id" onclick="ChooseBE()" /> 阅读全文
posted @ 2018-05-15 17:12 就爱敲代码 阅读(201) 评论(0) 推荐(0) 编辑
摘要: List<path> Report = new List<path>(); XmlDocument myCha = new XmlDocument(); try { myCha.Load(path); } catch (Exception e) { if (e != null) { return R 阅读全文
posted @ 2018-05-15 11:07 就爱敲代码 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 一、 XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(path); XmlNode memberlist = xmlDoc.SelectSingleNode("works"); XmlNodeList nodelist = memberlist 阅读全文
posted @ 2018-05-15 11:06 就爱敲代码 阅读(504) 评论(0) 推荐(0) 编辑
摘要: //创XML建对象 XmlDocument doc = new XmlDocument(); //bool a = false; //声明根节点 XmlElement books; //判断文件是否存在 if (File.Exists(path)) { //该文件存在 //加载文件 doc.Load 阅读全文
posted @ 2018-05-15 11:04 就爱敲代码 阅读(96) 评论(0) 推荐(0) 编辑
摘要: mozc是要遍历的类名 p.name是字段名 p.GetValue是字段名对应的值 foreach (System.Reflection.PropertyInfo p in mozc.GetType().GetProperties()) { XmlElement name = doc.CreateE 阅读全文
posted @ 2018-05-15 11:01 就爱敲代码 阅读(262) 评论(0) 推荐(0) 编辑