摘要: 软件就是工厂里工作的机器,他们不知疲倦,只要有电就可以一直工作下去 他可以大大提到工作效率,减少误差,减少人的劳动 阅读全文
posted @ 2008-12-28 17:17 bestsaler 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1.显示网页中的所有图片 javascript:Ai7Mg6P=’’;for%20(i7M1bQz=0;i7M1bQz’};if(Ai7Mg6P!=’’){document.write(’’+Ai7Mg6P+’’);void(document.close())}else{alert(’No%20images!’)} 2.显示网页中除图片的其他 javascript:for(jK6bv... 阅读全文
posted @ 2008-12-24 14:09 bestsaler 阅读(711) 评论(0) 推荐(0) 编辑
摘要: CREATE function f_GetPy(@str varchar(100)) returns varchar(8000) as begin declare @re varchar(8000) --生成临时表 declare @t table(chr nchar(1) collate Chinese_PRC_CS_AS_KS_WS,py nvarchar(20)) inser... 阅读全文
posted @ 2008-12-22 17:42 bestsaler 阅读(695) 评论(0) 推荐(0) 编辑
摘要: CONVERT 将某种数据类型的表达式显式转换为另一种数据类型。由于某些需求经常用到取日期格式的不同.现以下可在 SQL Server中 将日期格式化. SQL Server 支持使用科威特算法的阿拉伯样式中的数据格式。 在表中,左侧的两列表示将 datetime 或 smalldatetime 转换为字符数据的 style 值。给 style 值加 100,可获得包括世纪数位的四位年份 (yy... 阅读全文
posted @ 2008-12-22 16:53 bestsaler 阅读(159) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO;... 阅读全文
posted @ 2008-12-21 16:44 bestsaler 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 用回调方法检索数据 下面的示例演示了一个从线程中检索数据的回调方法。包含数据和线程方法的类的构造函数也接受代表回调方法的委托; 在线程方法结束前,它调用该回调委托。 */ using System; using System.Threading; //被实例化的类,用于传递参数进行操作 public class ThreadWithState { private string boil... 阅读全文
posted @ 2008-12-21 14:27 bestsaler 阅读(127) 评论(0) 推荐(0) 编辑
摘要: public void Dirs(string path) { DirectoryInfo dis = new DirectoryInfo(path); FileInfo[] files = dis.GetFiles(); foreach (FileInfo fi in files) ... 阅读全文
posted @ 2008-12-21 12:55 bestsaler 阅读(135) 评论(0) 推荐(0) 编辑
摘要: NTLDR is missing 的解决方法 NTLDR文件是win nt/win200/WinXP的引导文件,当此文件丢失时启动系统会提示"NTLDR is missing..."并要求按任意键重新启动,不能正确进入系统 。所以应该在系统正常的时候给予备份。 NTLDR文件是做什么的?我们如何来修复NTLDR文件类型的故障呢? NTLDR文件的是一个隐藏的... 阅读全文
posted @ 2008-12-20 09:13 bestsaler 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 杭州是市民卡办理点 服务厅 地址 标志性建筑物 交通路线 学院营业厅 华星路15号景城花园商铺 枫华府第旁、东方通信大厦后 K156、816/K816、K37、15/K15、24/K24、K95、K179、K221、K74、K86、K42文三路(东方通信站); 66/K66、816/K816、303/K303学院路(天... 阅读全文
posted @ 2008-12-17 21:56 bestsaler 阅读(262) 评论(0) 推荐(0) 编辑
摘要: alter function F_GetUserPostion(@userName varchar(120)) returns varchar(600) as begin Declare curGetUserPostion Cursor for select (select column_Name from Hr_Professional where Column_id=Hr_Int... 阅读全文
posted @ 2008-12-17 14:59 bestsaler 阅读(122) 评论(0) 推荐(0) 编辑