摘要:
[db2inst1@xifenfei ~]$ db2 connect to xffDatabase Connection InformationDatabase server = DB2/LINUX 9.5.9SQL authorization ID = DB2INST1Local database alias = XFF[db2inst1@xifenfei ~]$ db2 list tablesTable/View Schema Type Creation time------------------------------- --------------- ----- ---------- 阅读全文
摘要:
Windows SharePoint Services 2.0 以协调世界时 (UTC) 格式存储日期和时间值,而且几乎所有由对象模型成员返回的日期和时间都是 UTC 格式。一个例外是通过 SPListItem 类的索引器获取的列表栏值,其格式为网站的本地时间。使用 SPQuery 类的 DatesInUtc 属性来使用索引器返回 UTC 格式的值。 若要将值从 UTC 格式转换为本地时间,请使用 SPTimeZone 类的 UTCToLocalTime 方法,该方法可以通过当前网站的 RegionalSettings 属性进行访问,如下所示:mySite.RegionalSettings.T 阅读全文
摘要:
using System;namespace Microsoft.SharePoint{public enum SPFileSystemObjectType{Invalid = -1,File = 0,Folder = 1,Web = 2,}}using System;namespace Microsoft.SharePoint{public enum SPFileSystemObjectType{Invalid = -1,File = 0,Folder = 1,Web = 2,}}Microsoft.SharePoint.SPBuiltInFieldId 阅读全文
摘要:
Here is some resource that related to how to improve the JQuery code performance.http://net.tutsplus.com/tutorials/javascript-ajax/10-ways-to-instantly-increase-your-jquery-performance/http://www.artzstudio.com/2009/04/jquery-performance-rules/ 阅读全文
摘要:
CopyUtil.aspx: a little SharePoint Gem Did you ever had the need to navigate to a SharePoint list item or document, when you only got the ID's of the item, the item's container (list or document library) and the item's web? I sure did! For example when you query SharePoint data by making 阅读全文
摘要:
System.Diagnostics.Stopwatch stopWatch2= new System.Diagnostics.Stopwatch();stopWatch2.Start();// the code that you want to know the time beingcomsumed.stopWatch2.Stop();string resTotal = stopWatch2.Elapsed.TotalMilliseconds.ToString(); 阅读全文
摘要:
I found some article about how to query data from cross-list.I listed them below, I think that It's gonna be help when some scenario happens.You are not clear so as to what type of Data Retrieval you are after. Anyway, let me guide you to some possible options within a custom webpart like scenar 阅读全文
摘要:
Here is a example<script language="JavaScript">var doc = document.getElementsByTagName('ie:menuitem'); for (var i = 0; i < doc.length; i++){item = doc[i]; if (item.id.match('ExportToSpreadsheet') != null || item.id.match('ExportToDatabase') != null || item. 阅读全文
摘要:
<html><head><script type="text/javascript" src="/jquery/jquery.js"></script><style type="text/css"> .class-red{border: red solid 1px;}</style><script type="text/javascript">$(document).ready(function(){$("input:bu 阅读全文
摘要:
Want to add a rating field to MOSS search results? Here's how!Author: forest rain marciaWant to add a rating field to MOSS search results? Here's How!By Shai Petel, VP R&D, KWizCom CorporationSummaryBy popular demand I have decided to write a brief "How to" guide, explaining ho 阅读全文