上一页 1 2 3 4 5 6 ··· 9 下一页

2011年2月23日

精通系列之Windows7

摘要: 快捷键之显示桌面:win+d或者是:win+m两者不同是,win+d显示桌面以后再按win+d回到显示桌面前的界面,win+m则不会 阅读全文

posted @ 2011-02-23 20:30 catvi 阅读(164) 评论(0) 推荐(0) 编辑

2011年2月18日

转发:图解SQL的Join

摘要: 对于SQL的Join,在学习起来可能是比较乱的。我们知道,SQL的Join语法有很多inner的,有outer的,有left的,有时候,对于Select出来的结果集是什么样子有点不是很清楚。Coding Horror上有一篇文章(实在不清楚为什么Coding Horror也被墙)通过 文氏图Venn diagrams 解释了SQL的Join。我觉得清楚易懂,转过来。假设我们有两张表。Table A 是左边的表。 Table B 是右边的表。 其各有四条记录,其中有两条记录是相同的,如下所示:下面让我们来看看不同的Join会产生什么样的结果。Inner join产生的结果集中,是A和B的交集。F 阅读全文

posted @ 2011-02-18 17:13 catvi 阅读(217) 评论(0) 推荐(0) 编辑

2011年2月11日

SP中页面调用脚本

摘要: <script type="text/javascript">_spBodyOnLoadFunctionNames.push("hidefield");function hidefield(){var input = document.getElementById('ctl00_m_g_4d50aef8_10a0_4226_b00b_aa3db4d458bf_ctl00_ctl02_ctl00_ctl01_ctl00_ctl00_ctl02_ctl00_ctl00_ctl04_ctl00_ctl00_TextField 阅读全文

posted @ 2011-02-11 10:54 catvi 阅读(303) 评论(0) 推荐(0) 编辑

2011年1月19日

C#操作Excel的几个函数

摘要: //获得某个文本的在excel的sheet中的位置public Position GetPosition(Worksheet mySheet,string strText) { Position positon = new Position(); try { Range currentFind = mySheet.Cells.Find(strText, Type.Missing, Microsoft.Office.Interop.Excel.XlFindLookIn.xlValues, Microsoft.Office.Interop.Excel.XlLookAt.xlWhole, Micro 阅读全文

posted @ 2011-01-19 17:21 catvi 阅读(5112) 评论(0) 推荐(0) 编辑

2010年12月22日

转:在SPItemEventReceiver中使用BeforeProperties和AfterProperties

摘要: 在SPItemEventReceiver中使用BeforeProperties和AfterProperties正如你所知道的,事件接收器(EventHandler)非常强大,可以挂在许多SharePoint事件上。它们可以应用于功能(Feature)事件,如FeatureActivated,列表事件,如FieldAdded,等等。然而,其中我们最常用的还是SPItemEventReceiver中的一系列接收器。通过继承该类,我们可以把自己的代码挂接在列表项或文档库文档上发生的一系列事件上。当你利用这些事件时,就很快会发现存在前(同步)后(异步)两种事件。其方法的后缀分别为“ 阅读全文

posted @ 2010-12-22 13:04 catvi 阅读(222) 评论(0) 推荐(0) 编辑

SharePoint中删除列表记录

摘要: 方法1:SPList spListQuestion = spWeb.Lists["Question List"]; for (int i = spListQuestion.Items.Count - 1; i >= 0; i--) { spListQuestion.Items[i].Delete(); } 方法2:SPList spListQuestion = spWeb.Lists["Question List"]; string sDIDTitle = spListQuestion.Fields["DID"].Int 阅读全文

posted @ 2010-12-22 11:02 catvi 阅读(427) 评论(0) 推荐(0) 编辑

2010年12月9日

一段求助的情景对话

摘要: This is from xx Hub. I have raised a ticket which number is XXXXXXX, please see the description and check the ticket.wait....This is a primary ticket and please raise the secondary ticket for me and show me the secondary ticket number.wait....This is a urgent case, please release the password as soo 阅读全文

posted @ 2010-12-09 16:36 catvi 阅读(199) 评论(0) 推荐(1) 编辑

2010年12月6日

windows 2003 下配置WordPress

摘要: 准备三个软件:1.mysql,我用的版本:mysql-5.0.22-win32;2.php,我的版本:PHP_Setup_for_IIS_MySQL5_v20060119_CN_Ayxz.exe3.wordpress,我的版本:wordpress-3.0.2-zh_CN.zip首先安装mysql,mysql的默认帐号是root,一路默认安装就可以了,设置密码完成后,件个数据库就OK了。记得mysql再重装的时候要把原来的文件夹也删掉。然后是php,默认安装就可以了。配置的时候需要注意,在iis6里面建立一个普通网站,端口不选80,然后在属性-主目录-配置里面,添加对php文件的解析。如图:然后 阅读全文

posted @ 2010-12-06 21:41 catvi 阅读(1165) 评论(0) 推荐(0) 编辑

2010年12月1日

SharePoint之javascript查找人或组控件

摘要: 根据SharePoint里面每个控件的id去查找,然后赋值。function setPickerElement(idvalue,deliver){ var divs = document.getElementsByTagName("DIV");for(var i=0; i < divs.length ; i++){ if(divs[i].id.indexOf(idvalue) > 0){ divs[i].innerHTML = deliver; break;}}} 阅读全文

posted @ 2010-12-01 14:30 catvi 阅读(184) 评论(0) 推荐(0) 编辑

Please help to prepare environment of production server

摘要: Hi, All Rosa has signed off UAT of LPU Auto Tracking and Escalation System. So SD team is beginning to setup system’s website on production server. But unfortunately we found that the server had not installed Microsoft Excel. Since this application needs Microsoft Excel to deal with excel 阅读全文

posted @ 2010-12-01 11:13 catvi 阅读(135) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 9 下一页

导航