代码乱了(靳如坦的技术blog)

专注于.net,c#,Ajax、Sql Server、SmartClient等相关的开发
posts - 152, comments - 775, trackbacks - 13, articles - 2
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

公告

置顶随笔

摘要: 本文目的是实现在WebForm中模仿Winform中MessageBox.Show()的调用方式,配合javascript的window.cofirm,返回值回传,已经服务器端回调方法处理,封装成一个通用的自定义控件。阅读全文

posted @ 2008-10-25 11:47 代码乱了 阅读(5948) 评论(67) 编辑

2012年5月14日

posted @ 2012-05-14 20:58 代码乱了 阅读(7) 评论(0) 编辑

2012年1月1日

摘要: 元旦一早6点爬起来帮朋友定票,铁道部也公布了消息称可以预定12天的票,好吧,我能忍受你的速度巨慢、卡等现象,只要能定到票苦点累点不要紧,终于熬到早上10点,看到有卧铺票,定了5张,共计1661块大洋,订单生成成功,提交订单,支付成功后,回到12306,看到订单还是待支付状态,我就有预感,这次铁定是出问题了,等了20分钟,45分钟过去了,依旧是未支付状态,然后订单被自动取消(据说是按规定下单后45分钟之内为支付的将自动取消)。一直打12306客服电话把我手机打停机都没有人接,彻底崩溃了,我的愤怒极限也爆发了,这次我算是彻底的服了铁道部。 据我在网上看到的情况,和我一样经历的人不在少数,至少...阅读全文

posted @ 2012-01-01 12:25 代码乱了 阅读(2916) 评论(49) 编辑

2011年6月25日

    该文被密码保护。

posted @ 2011-06-25 14:19 代码乱了 阅读(2) 评论(0) 编辑

2011年5月26日

摘要: 0x8007007E:之前一直正常使用的ReportViewer,最近打印时,莫名其妙的出现Error loading resource library. (0x8007007E)最后彻底删除才C:盘下的RSClientPrint*.* 文件,重新装控件后就又正常工作了,真是奇怪的问题当然,最快速找到 C:盘下的RSClientPrint*.* 的办法,莫过于用神器:EveryThing了(0x80070006)可能是打印服务没有启动导致阅读全文

posted @ 2011-05-26 10:23 代码乱了 阅读(246) 评论(0) 编辑

2011年5月6日

    该文被密码保护。

posted @ 2011-05-06 17:15 代码乱了 阅读(3) 评论(0) 编辑

2011年5月5日

摘要: 去掉ExcelConnection类中的几个构造函数中licenseManager.Verify()代码,去掉ExcelConnection.Open方法中的抛出异常:Open方法修改后的代码应该是publicoverridevoidOpen(){try{stringstr=y.d(this.GetType().AssemblyQualifiedName);if(str==null){}if(y.c(str)!=y.n){}this.l=ConnectionState.Connecting;this.a(this.i,this.p);this.l=ConnectionState.Open;}c阅读全文

posted @ 2011-05-05 00:53 代码乱了 阅读(74) 评论(0) 编辑

2011年3月29日

摘要: Introduction:Often working with content in the form of html, I have needed to manipulate the content intelligently. I accomplished this by using regular expressions to "parse" the html to find certain tags. This enabled me to look for certain tags with certain attributes, etc.This works we阅读全文

posted @ 2011-03-29 15:32 代码乱了 阅读(114) 评论(0) 编辑

2011年3月23日

摘要: If you have a ReportViewer class generated from the XSD report definition file using:xsd.exe /c /namespace:Rdl ReportDefinition.xsdYou can serialize and deserialize the class to/from RDLC XML:xmldoc contains the XML RDLC code and is an XmlDocument.Deserialization, from XML to ClassRdl.Report report 阅读全文

posted @ 2011-03-23 23:30 代码乱了 阅读(85) 评论(0) 编辑

2011年1月27日

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace Bronze.DEPSP.Complaint{ public interface IFormField { /// <summary> /// 表单字段名 /// </summary> string FieldName { get; set; } /// <summary> /// 控件值 /// </summary> object FieldValue { get;阅读全文

posted @ 2011-01-27 17:44 代码乱了 阅读(82) 评论(0) 编辑

2010年10月27日

摘要: javascript: var date=new Date().toString();得到的结果类似于:Wed Oct 27 2010 08:53:04 GMT+0800 如何在C#中把这个字符串转换为DateTime类型呢?[代码]阅读全文

posted @ 2010-10-27 08:57 代码乱了 阅读(226) 评论(0) 编辑