Diligent achievement genius ...

业精于勤荒于嬉 行成于思毁于随 voiow博客
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年10月12日

摘要: 是C#编写开发的为。NET平台提供的AOP框架 阅读全文

posted @ 2011-10-12 07:19 voiow 阅读(194) 评论(0) 推荐(0) 编辑

2010年11月10日

摘要: function openBrWindowInCentre(theURL,width,height) { var left, top; left = (window.screen.availWidth - width) / 2; top = (window.screen.availHeight - height) / 2; var per = 'width=' + width + ',height... 阅读全文

posted @ 2010-11-10 11:37 voiow 阅读(171) 评论(0) 推荐(0) 编辑

2010年10月16日

摘要: 一个简单的例子,Web从excel中读取内容:<%Set xlApp = server.CreateObject("Excel.Application")strsource = "f:\1dw\cl\汉字库.xls"Set xlbook = xlApp.Workbooks.Open(strsource)Set xlsheet = xlbook.Worksheets(1)i=1response... 阅读全文

posted @ 2010-10-16 18:53 voiow 阅读(755) 评论(0) 推荐(0) 编辑

2010年9月4日

摘要: SQL Server 2005表分区的具体实现方法 表分区分为水平分区和垂直分区。水平分区将表分为多个表。每个表包含的列数相同,但是行更少。例如,可以将一个包含十亿行的表水平分区成 12 个表,每个小表表示特定年份内一个月的数据。任何需要特定月份数据的查询只需引用相应月份的表。而垂直分区则是将原始表分成多个只包含较少列的表。水平分区是最常用分区方式,本文以水平分区来介绍具体实现方法。 水平分区常用... 阅读全文

posted @ 2010-09-04 15:39 voiow 阅读(334) 评论(0) 推荐(0) 编辑

2010年9月2日

摘要: SSIS(SQL Server Integration Service)是在SQL Server2000的DTS的基础上做的一个非常大的改进的新工具。采用了数据流和控制流分离,设计和部署分离的架构设计,引入了更多新的转换,终于向着专业级的ETL工具迈了一大部。 由于相对DTS的改进非常大,开发和使用SSIS也就显得比DTS略显复杂。但是对于大型项目,实际上SSIS比DTS要简单的多。 本文通过一... 阅读全文

posted @ 2010-09-02 13:02 voiow 阅读(307) 评论(0) 推荐(0) 编辑

2010年9月1日

摘要: 一、定义存储过程目的是把当前的所有表的相关信息全部都保存在一个指定的表里面CREATE PROCEDURE get_tableinfo AS if not exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tablespaceinfo]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) create table tablespaceinfo --创建结果存储表 (nameinfo varchar(50) , rowsinfo int , 阅读全文

posted @ 2010-09-01 09:36 voiow 阅读(291) 评论(0) 推荐(0) 编辑

2010年7月25日

摘要: ASPX文件:<uc1:lan27 id="lan271" runat="server" dispnum="30"></uc1:lan27> CS文件: private string _dispnum = ""; //定义显示条数 public string dispnum { get { return _dispnum; } set { _dispnum = value;... 阅读全文

posted @ 2010-07-25 09:36 voiow 阅读(178) 评论(0) 推荐(0) 编辑

2010年4月15日

摘要: 在浏览器的地址栏里直接输入一个doc或xls或jpg的文件的url路径,那么该文件会直接显示在浏览器里。而在很多时候我们希望能直接弹出下载提示框让用户下载,我们该怎么办呢?这里有两种方法: 1、设置你的服务器的iis,给doc等后缀名做映射。 2、在向客户端发送时设置其contenttype。 下面详细说明方法2 程序代码: 复制代码 代码如下:<% Response.Buffer = tr... 阅读全文

posted @ 2010-04-15 13:27 voiow 阅读(315) 评论(0) 推荐(0) 编辑

2010年1月4日

摘要: javascript以list方式封装xml,节省xml的操作步骤,但失去xml查询的方法 阅读全文

posted @ 2010-01-04 23:52 voiow 阅读(234) 评论(0) 推荐(0) 编辑

2010年1月3日

摘要: "Efficiency in simplicity", that's what XML is all about. XML is great for information exchange because of its simple flat file structure and user defined tags. For any application to interact with another either an complex marshalling code would be required or a simple implementation of XML would suffice. MS SQL gives us the advantage of generating dynamic XML in our data queries itself. In this article we will see some of the common used SQL XML queries. 阅读全文

posted @ 2010-01-03 22:29 voiow 阅读(146) 评论(0) 推荐(0) 编辑