原创 Handle the link event.

A lot of link in SharePoint 2010 is handle to  “onclick” event, This is the default link: <a οnfοcus="OnLink(this)" hre

原创 Control the item, Rename, add

Get the File URL: {$thisNode/@FileRef} Get the File Name: <xsl:value-of select="$thisNode/@FileLeafRef.Name" /> Just ed

原创 SP 2010: Getting started with LINQ to SharePoint in SharePoint 2010

  Microsoft released ‘sneak peak’ videos last week on the developer enhancements in SharePoint 2010. One of new feat

原创 如何使用C#壓縮文件及注意的問題!

首選,先要找一個開源的C#壓縮組件。 如:ICSharpCode.SharpZipLib 下載地址:http://www.icsharpcode.net/OpenSource/SharpZipLib/Def

原创 Web page Style IE6 IE7 and Firefox

每種瀏覽器對Css樣式的支持不同, 爲了區分不同的瀏覽器可以這樣寫:   Style="width:260px; position: absolute; margin-left: 347px; #margin-left: 338px!im

原创 How to communicate?

  Why some guy ask you, "how are you?" How do you replay? If he is your customer, or you want to make a friends.   Alwa

原创 淺析Asp.net中的Web.config文件(轉載)

一、認識Web.config文件 Web.config文件是一個XML文本文件,它用來儲存 ASP.NET Web 應用程序的配置信息(如最常用的設置ASP.NET Web 應用程序的身份驗證方式),它可以出現在應用程序的每一個目錄中。當

原创 ICSharpCode.SharpZipLib 使用演示

using System;using System.Data;using System.IO;using System.Text;using ICSharpCode.SharpZipLib.Zip;namespace Test.CUI{ 

原创 oracle 刪除用戶命令和部分命令

   SQLPLUS環境下    ①用戶及用戶下面所有表的刪除    drop user username cascade;    ②創建用戶    create user username identif

原创 IIS不能安裝的終極解決方案.

首先在“開始”菜單的“運行”中輸入“c:/Windows/inf/sysoc.inf”,系統會自動使用記事本打開sysoc.inf這個文件。在sysoc.inf中找到“[Components]”這一段,並繼續找到類似“iis=iis.dl

原创 ORACLE 字符串操作

■ 字符串連接   SQL> select 'abc' || 'def' from dual; 'ABC'|------abcdef SQL> ■ 小寫   select lower('ABC012');lower--------abc0

原创 How to hidden/display the left panel?

If you want to hidden/display the left panel, you could find some style code as blow: <SharePoint:UIVersionedContent ID

原创 Oracle數據庫備份與恢復

1.Oracle數據庫備份與恢復時,源數據庫與目標數據的字符集必須相同,否則可能導入失敗;  2.備份時可使用命令exp sde/sde@ OriSDE file=c:/sde.dmp  log=c:/export.log sde/sde

原创 How to Control the [Add document] button on the bottom of every view?

<RowLimit Paged="TRUE">10</RowLimit>  this line may be you understand     <Aggregations Value="Off"/>     <Toolbar Type