摘要: -----后台代码------/// <summary>///GetSubString 的摘要说明/// </summary>public class GetSub{ /// <summary> /// 去除HTML标记 /// </summary> /// <param name="Htmlstring"></param> /// <returns></returns> public static string NoHTML(string Htmlstring) { if (H 阅读全文
posted @ 2011-04-20 10:26 xuebingz 阅读(316) 评论(0) 推荐(0)
摘要: var query2 = from f in doc_US_Fundamentals_xml.Descendants("上市公司") join t in doc_US_Technicalxml.Descendants("上市公司") on f.Attribute("代码").Value equals t.Attribute("代码").Value where f.Attribute("代码").Value.Equals(code) select new { yMinPrice = t.Attri 阅读全文
posted @ 2011-04-20 09:51 xuebingz 阅读(234) 评论(0) 推荐(0)
摘要: ///<summary>///根据文件目录匹配对应的str的文件///</summary>///<param name="basePath">文件夹</param>///<param name="str">相同的文件前缀</param>///<returns></returns>public static ArrayList getFiles(string basePath,string str){ if(Directory.Exists(basePath)= 阅读全文
posted @ 2011-04-20 09:33 xuebingz 阅读(293) 评论(0) 推荐(0)