07 2008 档案
摘要:One of the most frequently asked questions in SQL Server forums is how to format a datetime value or column into a specific date format. Here's a summary of the different date formats that co...
阅读全文
摘要:1.鼠标滚动图片大小调整 screen.width-screen.width/2) this.style.width=screen.width-screen.width/2" onmousewheel="return bbimg(this)" > 2.图片自动缩小到固定大小 3.滚轮图片缩放的代码 然后在中加入 onDblClick="return Resize(this,10...
阅读全文
摘要:一.Sql 2000得到表字段详细信息。 SELECT colorder=a.colorder,--列号ColumnName=a.name, --列名称TypeName=b.name, --列类型Length=(case when b.name='nvarchar' then a.length/2 else a.length end), --列长度Preci=COLUMNPR...
阅读全文
摘要://杨春//2008-7-10//删除指定目录下所有文件 用来处理饼状图 柱状图产生的缓冲文件 using System;using System.Data;using System.IO;using System.Data.SqlClient; /// /// DeleteFile 的摘要说明/// namespace YangChun{ public class DeleteFil...
阅读全文
摘要:Linux之父Linus Torvalds的十大名言,您听说过几句? 1. “Software is like sex: it's better when it's free.” 软件就像性,免费的比花钱的好得多. 2. “Microsoft isn't evil, they just make really crappy operating systems.” 微软并不是魔鬼,只是它的操作系统实...
阅读全文
摘要:1.去除IE滚动条 前进 javascript:history.forward(1) 后退 javascript:history.back(1) 停止 javascript:location.stop() 刷新 javascript:location.reload() 打印 javascript:window.print() 主页 http://首页的地址 邮件 mailto:电子邮件...
阅读全文
摘要:首先,在你的主页面上必须包含以下这段javascript代码: 然后对于主页面用到iframe的地方添加代码:
阅读全文
摘要:使用Iframe时,高和宽是直接定制好的。很难自适应引用的页面。这时就要用别的方法来进行了。以下整理了2种方法。以做备用: 1,适应内容自动扩展,在parent页面上加处理script: 无标题文档 2.在引用的文件上加script function changeIframeHeight() //自动改变 Iframe 的高度{if(top != self) window.parent....
阅读全文
摘要:C#实现所有经典排序算法 //选择排序 class SelectionSorter { private int min; public void Sort(int[] arr) { for (int i = 0; i arr[i + 1]) { don...
阅读全文