摘要: --常用日期转换参数: PRINT CONVERT(varchar, getdate(), 120 ) 2016-07-20 16:09:01 PRINT replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),' ',''),':','') 20040912110608 PRINT CONVERT(varchar(... 阅读全文
posted @ 2016-07-20 17:47 会弹猫的吉他 阅读(429) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 获取客户端Ip /// </summary> /// <returns></returns> public static string GetClientIp() { String clientIP = string.Empty; if (System.Web.H 阅读全文
posted @ 2016-07-20 17:42 会弹猫的吉他 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 解决方案:IIS——应用程序池——高级设置——启用32位应用程序 :true。 阅读全文
posted @ 2016-07-20 17:34 会弹猫的吉他 阅读(217) 评论(0) 推荐(0) 编辑
摘要: private static double Scanner(string ip, int port) { try { System.Net.Sockets.TcpClient Tcp = new System.Net.Sockets.TcpClient(); Syste... 阅读全文
posted @ 2016-07-20 14:16 会弹猫的吉他 阅读(798) 评论(0) 推荐(0) 编辑