摘要:
--常用日期转换参数: PRINT CONVERT(varchar, getdate(), 120 ) 2016-07-20 16:09:01 PRINT replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),' ',''),':','') 20040912110608 PRINT CONVERT(varchar(... 阅读全文
摘要:
/// <summary> /// 获取客户端Ip /// </summary> /// <returns></returns> public static string GetClientIp() { String clientIP = string.Empty; if (System.Web.H 阅读全文
摘要:
解决方案:IIS——应用程序池——高级设置——启用32位应用程序 :true。 阅读全文
摘要:
private static double Scanner(string ip, int port) { try { System.Net.Sockets.TcpClient Tcp = new System.Net.Sockets.TcpClient(); Syste... 阅读全文