2018年5月10日

Webservice超时问题

摘要: Winform客户端调用Webservice 120秒超时.对此问题,针对服务器与客户端分别作了超时设置为300S. 1. 服务器端设置超时 在 web.config 的 system.web 里添加如下配置项: < httpRuntimeexecutionTimeout="300000"/> 记得 阅读全文

posted @ 2018-05-10 11:35 itjeff 阅读(414) 评论(0) 推荐(0) 编辑

C# DateTime的 ParseExact和 TryParseExact 使用说明

摘要: 最近需要把“20121010”转换为“2012-10-10”格式,直接用Convert.ToDateTime("20121010"),系统报错“未被识别的DateTime类型”。 解决方法: 一、DateTime.ParseExact string str = "20121010"; IFormat 阅读全文

posted @ 2018-05-10 11:24 itjeff 阅读(27687) 评论(0) 推荐(2) 编辑

导航