随笔分类 - ASP.NET
摘要:1 XmlDocument doc = new XmlDocument(); 2 doc.Load(HttpContext.Current.Server.MapPath("~/App_Data/" + xmlName + ".xml")); 3 XmlNodeList nodeList = doc.SelectNodes(xpath); 4 foreach (XmlNode sub in nodeList) 5 { 6 if ...
阅读全文
摘要:1 /// <summary> 4 /// 去除后面多余的零 5 /// </summary> 6 /// <param name="dValue"></param> 7 /// <returns></returns> 8 private string RemoveZero(decimal dValue) 9 {10 string sResult = dValue.ToString();11 if (sResult.IndexOf(".") < 0)12 return sRes
阅读全文
浙公网安备 33010602011771号