ITeye博客

2007 年文章归档

共 276 篇文章

男人的这十大幼稚行为 女人最讨厌

<script type="text/javascript"><!-- google_ad_client = "pub-0241434510974184"; /* 博客文章广告728x90, */ google_ad_slot = "7316585398"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> 挺大的男人…

2007-10-13 09:40

一位情场高手总结的“约会秘籍”

<script type="text/javascript"><!-- google_ad_client = "pub-0241434510974184"; /* 博客文章广告728x90, */ google_ad_slot = "7316585398"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> 不要告诉男…

2007-10-13 09:38

利用SoapHeader验证web service调用的合法性(dwonmoon)

本文主要通过示例介绍利用SoapHeader验证web service调用的合法性, 一建立Web service项目,新建一个APIService.asmx 其后台代码如下 usingSystem; usingSystem.Data; usingSystem.Configuration; usingSystem.Web; usingSystem.Web.Security; usingSystem.Web.UI; usingSystem.Web.UI.WebControls; usingSystem.Web.UI.WebControls.WebParts; usingSystem.Web.U…

2007-10-11 11:42

18岁女孩的第一次

<script type="text/javascript"><!-- google_ad_client = "pub-0241434510974184"; /* 博客文章广告728x90, */ google_ad_slot = "7316585398"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> 女孩不安的…

2007-10-11 10:09

穷人最缺少的是什么?

<script type="text/javascript"><!-- google_ad_client = "pub-0241434510974184"; /* 博客文章广告728x90, */ google_ad_slot = "7316585398"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> 穷人最缺少…

2007-10-11 09:30

根据SQL存储过程名取得存储过程内容(downmoon)

本语句适用于MS SQL SERVER 2000/2005 SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO -- GetContentByProcedureName'[dbo].[存储过程名]' Create procedure GetContentByProcedureName ( @ProcedureName nvarchar ( 500 )) as if exists ( select * from dbo.syscomments where id = object_id (N '' + @ProcedureName + '' )) s…

2007-09-30 08:26

获取SqlServer 2005中字段的备注信息--downmoon

在 上篇文章 中,介绍了如何 获取SqlServer 2000中字段的备注信息 本文将介绍如何获取SqlServer 2005中字段的备注信息(downmoon) Declare @tblName nvarchar ( 1000 ) set @tblName = ' 表名 ' declare @TblID int set @TblID = ( select [ object_id ] as tblID from sys.all_objects where [ type ] = ' U ' and [ name ] <> ' dtproperties ' and [ name ] = @tbl…

2007-09-28 17:27

[Oracle]高效的SQL语句之分析函数--row_number() /rank()/dense_rank()

有些时候我们希望得到指定数据中的前n列,示例如下: 得到每个部门薪水最高的三个雇员: 先创建示例表 createtableemp as select*fromscott.emp; altertableemp addconstraintemp_pk primarykey(empno); createtabledept as select*fromscott.dept; altertabledept addconstraintdept_pk primarykey(deptno); 先看一下row_number() /rank()/dense_rank()三个函数之间的区别 selectemp.d…

2007-09-21 15:19

ASP.NET 2.0页面的中文编码问题--downmoon

前几天用生成机生成Web项目时发现用微软提供的 Web Deployment Project 生成的文件在原项目生成时没有问题,但用该工具部署时却发现所有ASPx及ascx页面的中文全都是乱码,而cs文件输出的中文都正常 于是在aspx页面中加入下面一行 < meta http-equiv ="Content-Type" content ="text/html;charset=gb2312" > 依然解决不了问题。 在<Page>中加入 < ResponseEncoding ="gb2312" > 问题依旧 于是将aspx和ascx文件另存为--编码保存--UniCode(UFT-8 带签名…

2007-09-12 17:42

pear: Pager_Wrapper PDO扩展

/** *PDODatabaseWrapperofPEARPager * *@paramresource$dbThePDOobject *@paramstring$querySQLStatement *@paramarray$pager_optionsOptionsofpager *@paramboolean$disabledWhetherusepager,truewilluse,ornotuse *@paramint$fetchMode */ functionPager_Wrapper_PDO(&$db,$query,$pager_options=array(),$disabled=fal…

2007-09-11 00:21

AutoRun.inf 命令(翻译MSDN)

**[AutoRun]**命令: l Icon l Label l Open l ShellExecute l Shell l Shell/Verb [DeviceInstall] 命令: l DriverPath [AutoRun]命令 图标命令Icon Icon命令制定可自运行的驱动器在微软Windows用户界面中的图标。 格式 :icon=图标文件名[,索引] 参数说明: 图标文件名 包含图标信息的 .ico, .bmp, .exe, .dll文件名。如果该文件包含多于一个图标,必须用一个从0开始的索引进行标记。 备注: 图标和标签一起在用户界面中描绘可自运行驱动器。例如,在Windo…

2007-09-05 13:58

oracle 函数

SQL中的单记录函数 1.ASCII 返回与指定的字符对应的十进制数; SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual; A A ZERO SPACE --------- --------- --------- --------- 65 97 48 32 2.CHR 给出整数,返回对应的字符; SQL> select chr(54740) zhao,chr(65) chr65 from dual; ZH C -- - 赵 A 3.CONCAT 连接两个字符串; SQL> sele…

2007-08-27 16:52

大家分享——恢复视力方法

<script type="text/javascript"><!-- google_ad_client = "pub-0241434510974184"; /* 博客文章广告728x90, */ google_ad_slot = "7316585398"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> 大家分享—…

2007-08-22 11:15

恢复视力的辅助训练方法

<script type="text/javascript"><!-- google_ad_client = "pub-0241434510974184"; /* 博客文章广告728x90, */ google_ad_slot = "7316585398"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> 恢复视力的…

2007-08-22 11:06

杨百万:998点我是投资 现在我短线投机

<script type="text/javascript"><!-- google_ad_client = "pub-0241434510974184"; /* 博客文章广告728x90, */ google_ad_slot = "7316585398"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> 杨百万说,…

2007-08-20 11:42

给肌肤装屏保 对付电脑辐射

<script type="text/javascript"><!-- google_ad_client = "pub-0241434510974184"; /* 博客文章广告728x90, */ google_ad_slot = "7316585398"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> 电脑给我们…

2007-08-17 13:51

Javascript中最常用的55个经典技巧

1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键 <table border oncontextmenu=return(false)><td>no</table> 可用于Table 2. <body onselectstart="return false"> 取消选取、防止复制 3. onpaste="return false" 不准粘贴 4. oncopy="return false;" oncut="return false;" 防止复制 5. <link rel="Shortcut Icon" href="favic…

2007-08-14 18:13

增广贤文

<script type="text/javascript"><!-- google_ad_client = "pub-0241434510974184"; /* 博客文章广告728x90, */ google_ad_slot = "7316585398"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> 增广贤文 …

2007-08-12 18:40

web项目经理手册-需求变更管理

<script type="text/javascript"><!-- google_ad_client = "pub-0241434510974184"; /* 博客文章广告728x90, */ google_ad_slot = "7316585398"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> web项目…

2007-08-08 19:19

どうも的用法

<script type="text/javascript"><!-- google_ad_client = "pub-0241434510974184"; /* 博客文章广告728x90, */ google_ad_slot = "7316585398"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> 在日常生活…

2007-08-03 12:34