随笔分类 - C#
摘要://获取本机的公网IP public static string GetIP() { string tempip = ""; WebRequest request = WebRequest.Create("http://ip.qq.com/"); request.Timeout = 10000; WebResponse response = request.GetResponse(); Stream resStream = response.GetRespo...
阅读全文
摘要:核心处理方法如下:int num = 0, pos = 0, startPos = 0; foreach (char c in tmpIn) { if (',' == c) num++; if ((num + 1) % 800 == 0 && c == ',') { ctrlIn = ctrlIn + inCode + " in ('" + tmpIn.Substring(start...
阅读全文
浙公网安备 33010602011771号