摘要: using System; using System.Collections.Generic; using System.Text; namespace { #region /// /// This object represents the properties and methods of a . /// [Serializable()] public clas... 阅读全文
posted @ 2008-03-27 10:24 大牛博客 阅读(667) 评论(1) 推荐(1) 编辑
摘要: webbrowser,居然被用作套打。。。。。。 由于是套打,格式要求很严格,页眉页脚、页边距等等等等。 在网上找到下列代码,做适当修改后基本上能满足要求了,但是由于是用JS修改注册码,因此和客户端的IE设置有很大关系,必须要求客户IE允许Activex。如果不允许,var Wsh=new ActiveXObject("WScript.Shell");将抛出一个异常。 第二种方法:直接在.cs... 阅读全文
posted @ 2008-03-27 10:21 大牛博客 阅读(1170) 评论(0) 推荐(0) 编辑
摘要: 今天终于把这个问题给解决了: 参考文章:http://blog.csdn.net/long2006sky/archive/2007/04/23/1576583.aspx 实例说明: 环境:win2k+sqlserver 2K+查询分析器 SQLSERVER服务实例名称:mainserver 需要备份的数据库名称: msdb ... 阅读全文
posted @ 2008-03-27 10:20 大牛博客 阅读(3162) 评论(1) 推荐(0) 编辑
摘要: public class DoConfig { public static void Editconfig(string Key,string Value) { XmlDocument xmldoc = new XmlDocument(); string fileP... 阅读全文
posted @ 2008-03-27 10:19 大牛博客 阅读(306) 评论(0) 推荐(0) 编辑