Go to my github
上一页 1 ··· 9 10 11 12 13 14 15 下一页
摘要: 1: 准备工作 系统: Microsoft Windows Server 2003 Enterprise Edition Service Pack 2 安装完系统创建用户: TFSSETUP Administrotor系统组TFSSERVICEUser系统组TFSREPORTS 远程用户登录组创建完后没一个用户登录一次系统把AdminScripts文件夹拷贝到wwwroot目录下其他请按照TFS... 阅读全文
posted @ 2010-07-21 08:32 峡谷少爷 阅读(194) 评论(0) 推荐(0)
摘要: 一.为什么要写该系列日志 之前,总是觉得花时间去写博客,是浪费时间,总是去转载别人写的好的文章。后来看了一篇《为什么你应该(从现在开始)写博客》,深受启发,打算认真的开始写一点自己的东西。一来可以锻炼自己的写作能力,二来可以记录一下自己的成长过程,也许,理由不只这些,但是,至少这两点理由已经足够了。虽然之前做过一些项目,但是,总是以完成项目为目的,没有很好的去沉淀一些东西,所以,本系列的日志,以该... 阅读全文
posted @ 2010-07-19 10:26 峡谷少爷 阅读(1040) 评论(0) 推荐(0)
摘要: 司的制度不管有多完善,亦需要同事的配合。能否成功,关键亦在于能否跟同事打成一片,尽得人心。  合作和分享:多跟别人分享看法,多听取和接受别人意见,这样你才能获得众人接纳和支持,才能顺利开展工作。  微笑:无论茶水阿姨、暑期实习生或总经理,无时无刻不向人展示友善的笑容,必能赢取好感。年轻的同事视你为大师兄、姐,年长的把你当弟、妹看待,如此亲和的人际关系必有利事业的发展。  善解人意:同事感冒你体贴地... 阅读全文
posted @ 2010-07-07 11:44 峡谷少爷 阅读(141) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.IO;namespace U盘更新{ public 阅读全文
posted @ 2010-06-30 09:28 峡谷少爷 阅读(2311) 评论(0) 推荐(1)
摘要: <h5><div id="scrollNews" class="scrollNews" style="overflow: hidden; WIDTH: 700px"><nobr><span id="scrollNews_cur"> <a href="http://news.lfang.com/NewsDetail-47528-1.html">·新地阿尔法国际社区精装豪宅实景呈现</a> <a href=&qu 阅读全文
posted @ 2010-06-05 18:14 峡谷少爷 阅读(1407) 评论(0) 推荐(0)
摘要: 1.DateTime  1 DateTime now = System.DateTime.Now;  2 now.ToString(); //显示: 2006/08/30 17:31:02  3 now.ToString("yyyy-mm-dd hh:MM:ss"); //显示: 2006-08-30 05:39:11  4 now.ToString("yyyy-mm-dd HH:mm:ss");... 阅读全文
posted @ 2010-04-15 08:51 峡谷少爷 阅读(1158) 评论(0) 推荐(1)
摘要: SqlBulkCopy是.net2.0的新特性,平时用的很少,但是其功能却是非常强大,对于批量插入数据性能非常优越代码经过1000条数据的对比测试,一般性的循环插入与sqlbulk插入的时间对比为:一般插入:使用时间0.5200008秒使用builk插入:使用时间0.02秒性能非常优越 阅读全文
posted @ 2010-03-11 04:29 峡谷少爷 阅读(7088) 评论(4) 推荐(7)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->///<summary>///反序列化///</summary>///<paramname="type">对象类型</param>///<paramname="filename">文件路径</param>///<returns></returns>publi 阅读全文
posted @ 2010-03-08 16:55 峡谷少爷 阅读(7022) 评论(1) 推荐(4)
摘要: 2.观察法:指对工作实况作现场观察并记录有关工作情况。 观察时,先预备好的观察项目表,一边观察,一边核对。 观察表范例 ------------------------------------------------- 被观察者的姓名: 被观察者的职位: 工作类型: 直接主管: 观察内容: 观察时间: 1:什么时候开始正式工作_____________ 2:上午共工作多少小时_______________ 3:上午休息几次____________________ 4:上午完成多少件产品_______________ 5:平均多少时间完成一件产品__________ 6: 一共与同事交谈几次__ 阅读全文
posted @ 2010-03-06 14:46 峡谷少爷 阅读(344) 评论(0) 推荐(0)
摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->functionflashWrite(url,w,h,id,bg,vars,win){varflashStr="<divalign=\"center\"><objectclassid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'codebase='http://fpdownl 阅读全文
posted @ 2010-03-04 14:59 峡谷少爷 阅读(215) 评论(0) 推荐(0)
摘要: 主程序代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--functiongetXmlhttp(){varhttp_request;if(window.XMLHttpRequest){http_request=newXMLHttpRequest();if(http_request.overrideMimeType){http_request.overrideMimeType("text/xml");}}elseif(window.ActiveXOb 阅读全文
posted @ 2010-03-04 14:57 峡谷少爷 阅读(406) 评论(0) 推荐(0)
摘要: @echo offsetlocal@echo %WINDIR%\System32\msdtc.exe -uninstall%WINDIR%\System32\msdtc.exe -uninstallcall :delkey "HKCR\CID"call :delkey "HKLM\SYSTEM\CurrentControlSet\Services\MSDTC"call :delkey "HKLM\SYSTEM\ControlSet001\Services\MSDTC"call :delkey "HKLM\SYSTEM\ControlSet002\Services\MSDTC"call :del 阅读全文
posted @ 2010-03-04 14:47 峡谷少爷 阅读(991) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///在使用本例之前要先手动引用system.configration组件,然后建立config文件,config文件名为当前程序文件名的后面加.config比如:a.exe.configusingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Configuration;usingSystem.Data;us 阅读全文
posted @ 2010-03-04 14:45 峡谷少爷 阅读(2257) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--pre用JS让文章内容指定的关键字加亮是这样的..现在有这些关键字:美容,生活,购物当在文章里头出现这些关键字,就把它加亮显示..文章是生成静态页面的,而这些关键字是能随时更新的,所以我想用JS来实现...不知道怎样来实现这样的功能啊?特此求助/prescriptlanguage="JavaScript"functionhighlight(key){varkey=key.split(' 阅读全文
posted @ 2010-03-04 14:42 峡谷少爷 阅读(470) 评论(0) 推荐(1)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--ahref="#"onclick="window.frames['frame1'].MyNext()"aa/aiframeid="frame1"src="print.html"/iframeprint.html页面scriptlanguage="javascript"type="text/javascript"functionMyNext(){alert(1);}/scrip 阅读全文
posted @ 2010-03-04 14:41 峡谷少爷 阅读(1173) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2010-03-04 14:40 峡谷少爷 阅读(1261) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/----全部的简繁对照declare@jallnvarchar(4000),@fallnvarchar(4000)select@jall=N'啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸 阅读全文
posted @ 2010-03-04 14:30 峡谷少爷 阅读(1379) 评论(1) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--ifexists(select*fromdbo.sysobjectswhereid=object_id(N'[dbo].[f_search]')andxtypein(N'FN',N'IF',N'TF'))dropfunction[dbo].[f_search]GOifexists(select*fromdbo.sysobjectswhereid=object_id(N'[序数表]')andOBJE 阅读全文
posted @ 2010-03-04 14:28 峡谷少爷 阅读(1534) 评论(0) 推荐(0)
摘要: 查询第X页,每页Y条记录最基本的处理方法(原理):如果表中有主键(记录不重复的字段也可以),可以用类似下面的方法,当然y,(x-1)*y要换成具体的数字,不能用变量:select top y * from 表 where 主键 not in(select top (x-1)*y 主键 from 表)如果表中无主键,可以用临时表,加标识字段解决.这里的x,y可以用变量.select id=ident... 阅读全文
posted @ 2010-03-04 14:25 峡谷少爷 阅读(313) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--CREATEPROCsp_PageView@sqlntext,--要执行的sql语句@PageCurrentint=1,--要显示的页码@PageSizeint=10,--每页的大小@PageCountintOUTPUT--总页数ASSETNOCOUNTONDECLARE@p1int--初始化分页游标EXECsp_cursoropen@cursor=@p1OUTPUT,@stmt=@sql,@sc 阅读全文
posted @ 2010-03-04 14:23 峡谷少爷 阅读(268) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 下一页