- 博客(5)
- 收藏
- 关注
原创 C#从数据库中读取datetime的一个坑
time = DateTime.Parse( ds.Tables[0].Rows[i]["time"].ToString() );time = (DateTime)ds.Tables[0].Rows[i]["time"];
2015-06-24 20:24:06 3691 1
原创 The type initializer threw an exception.
DbHelperSQL类public readonly static string ConnectionString = EncryptDecrypt.DESEncrypt.Decrypt( ConfigurationManager.AppSettings["SQLConnectionString"] );A类public static string THIS_TABLE
2015-06-09 18:19:33 2888
原创 关于TcpClient.Connected的一个坑
声明了一个TcpClientTcpClient tcp_client_model = null在某处初始化并使用了tcp_client_model ,然后正常关闭后用tcp_client_model.Connected检测有无连接,抛出了System.NullReferenceException的异常,一调试才发现tcp_client_model已经虽然不是null,但是它封装
2015-06-04 14:44:38 2972 1
原创 服务启动不了(ERROR:1053)的解决方法
Error 1053:The service did not respond to the start or control request in a timely fashion”(错误 1053:服务没有及时响应启动或控制请求)错误信息”protected override void OnStart( string[] args ) { while(
2015-06-01 16:47:02 9722
原创 IE8下jquery的选择器:hidden失效
IE8下,jquery-1.10.2$( '#test :hidden.node_value' )这中写法不能获取隐藏域,改为一下写法就好了$( '#test input.node_value' )原因不明,有可能是兼容性问题
2015-06-01 11:49:47 780 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人