07 2011 档案

摘要:Lookahead and Lookbehind Zero-Width AssertionsPerl 5 introduced two very powerful constructs: "lookahead" and "lookbehind". Collectively, these are called "lookaround". They are also called "zero-width assertions". They are zero-width just like thestart and en 阅读全文
posted @ 2011-07-03 15:30 cnbwang 阅读(303) 评论(1) 推荐(0)
摘要:public string CreateJsonParameters(DataTable dt) { /* /**************************************************************************** * Without goingin to the depth of the functioning of this Method, i will try to give an overview * As soon as this method gets a DataTable it starts to convert it into. 阅读全文
posted @ 2011-07-03 15:21 cnbwang 阅读(357) 评论(0) 推荐(0)
摘要:static void SaveMSIToTxt(string fileNameSoucre, string fileNameDest) { byte[] bytes = System.IO.File.ReadAllBytes(fileNameSoucre); string str = Convert.ToBase64String(bytes); System.IO.File.WriteAllText(fileNameDest, str); } static void ExtractMSIFromTxt(string txtFileName, string msiFileName) { st. 阅读全文
posted @ 2011-07-01 09:53 cnbwang 阅读(208) 评论(3) 推荐(0)