- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 进度条的控制
1.首先创建一台后台线程. Thread td = new Thread(new ThreadStart(RunTaskThreadStart)); td.Start(); 2.任务方法 void RunTaskThreadStart(){ ShowProgressDelegate showProgress = new ShowProgressDele
2009-02-16 16:58:00
475
原创 foxpor 相关
foxpro 导入 sqlinsert into bmk select * fromopenrowset(MSDASQL,Driver=Microsoft Visual FoxPro Driver;SourceType=DBF;SourceDB=d:/,select * from [b.DBF]) foxpor 连接字坐串 @"Provider=Microso
2009-02-16 15:29:00
382
原创 vs2005 GZipStream 压缩和解压缩
压缩函数 FileStream fs = new FileStream(@"E:/Heroes3.exe", FileMode.Open); FileStream DestnFile = File.Create(@"E:/a.exe"); byte[] barr=new byte[fs.Length
2009-02-13 00:10:00
614
原创 vs 水晶报表之推模式小探
1。首先在项目里构造一个强类型的 dataset 放在app_code 文件夹下。2。创建报表文件。选取第1步中的dataset作为数据源 .设计好报表3.在页面里写代码 .把数据推入到dataset里。绑定报表查看控件相关页面代码如下:using CrystalDecisions.CrystalReports.Engine; private ReportDocumen
2007-11-22 17:30:00
465
原创 关于 web.config 里自定义节点的设置和读取
1. 对于web.config 的设置的问题http://schemas.microsoft.com/.NetConfiguration/v2.0"> http://www.seaskylight.com/">> 配置如上新建一个类实现 IConfigurationSectionHandler 接口 public object Create(obj
2007-11-12 10:06:00
1103
原创 c# delegate 的使用实例
delegate void FoundOperation(); class BookStore //作者A { FoundOperation f=new FoundOperation(otherclass.fop) //注意 public static void Main()
2007-11-05 22:29:00
425
原创 override 和 new 方法重写父类方法的不同之处
1.fatherclass a=new sunclcass()基中构造函数是先从父类开始。再到子类2. 如用用 override 重写父类的 virtual 方法。则 a.method 是调用子类的方法。父类方法被重写3.如果用new 关键字 则结果还是调用父类的的方法。子类的只对子类的实例有效
2007-11-05 16:40:00
526
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人