alonestarsz

博客园 首页 新随笔 联系 订阅 管理

2005年11月16日 #

摘要: 1 string OLEDBConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties=Excel 8.0;"; 2 string resourcePath = Application.StartupPath; 3 resource... 阅读全文
posted @ 2005-11-16 14:33 天煞孤星 阅读(297) 评论(0) 推荐(0) 编辑

2004年11月19日 #

摘要: usingSystem;namespaceBuilder.BuilderFolder{/**///////HouseBuilder的摘要说明。///它定义如何创建复杂对象的各个部件///将一个复杂对象的构建与它的表示分离,使得同样的构建过程可以创建不同的表示///当创建复杂对象的算法应该独立于该对象的组成部分以及它们的装配方式时。... 阅读全文
posted @ 2004-11-19 16:33 天煞孤星 阅读(601) 评论(0) 推荐(0) 编辑

摘要: usingSystem;namespaceBridge.CoffeeBridgeImp{/**///////Coffee的摘要说明。///publicabstractclassCoffee{privateCoffeeImpcoffeeImp;publicCoffeeImpgetCoffee... 阅读全文
posted @ 2004-11-19 16:29 天煞孤星 阅读(420) 评论(0) 推荐(0) 编辑

摘要: usingSystem;namespaceFactory.EntityFolder{/**///////抽象Shape///publicabstractclassShape{publicstringname;publicShape(stringname){... 阅读全文
posted @ 2004-11-19 16:23 天煞孤星 阅读(413) 评论(0) 推荐(0) 编辑

摘要: 2.然后设置DataGrid的属性(Header和Pager的CssClass): 阅读全文
posted @ 2004-11-19 16:07 天煞孤星 阅读(660) 评论(0) 推荐(0) 编辑

2004年10月27日 #

摘要: 您是第 位访客! 杭州市环境保护局 版权所有 技术支持:浙江弘申信息技术有限公司 南京大汉网络有限公司 阅读全文
posted @ 2004-10-27 17:12 天煞孤星 阅读(634) 评论(0) 推荐(0) 编辑

2004年10月20日 #

摘要: Response.Clear(); Response.Buffer= true; Response.Charset="GB2312"; Response.AppendHeader("Content-Disposition","attachment;filename=FileName.xls"); Response.ContentEncoding=Syste... 阅读全文
posted @ 2004-10-20 10:26 天煞孤星 阅读(617) 评论(0) 推荐(0) 编辑

摘要: 在web.Config文江中添加:在工程引用中添加:Excel11 Object 阅读全文
posted @ 2004-10-20 09:48 天煞孤星 阅读(620) 评论(0) 推荐(0) 编辑

摘要: object missing = System.Reflection.Missing.Value; Excel.Application excel = new Excel.Application(); excel.Visible = false; Excel.Workbooks oBooks = excel.Workbooks; //打开指定文件 Excel.Work... 阅读全文
posted @ 2004-10-20 09:45 天煞孤星 阅读(1349) 评论(1) 推荐(0) 编辑