兩個WebUserControl之間傳值,網上的代碼有,直接從UserControl1中定位到UserControl2的寫法,偶合性很強,感覺不太好,於是提供另外的寫法。 用一個容器Container.aspx來放兩個WebUserControl,分別是UC1和UC2。現在假設要從UC1的一個事件觸發,把UC1中的一個值傳到UC2中。1.新增一個Class,代碼如下: Code highlighting produced by Actipro CodeHighlighter
SQL字串函數select語句中只能使用sql函數對欄位進行操作(連結sql server),select 欄位1 from 表1 where 欄位1.IndexOf("雲")=1;這條語句不對的原因是indexof()函數不是sql函數,改成sql對應的函數就可以了。left()是sql函數。select 欄位1 from 表1 where charindex('雲',欄位1)=1; 字串函數對位元據、字串和運算式執行不同的運算。此類函數作用於CHAR、VARCHAR、 BINARY、
Apache關於Order Allow Deny的配置搞得我很混亂,總結一下吧:<Directory "/var/www/html"> ## Possible values for the Options directive are "None", "All",# or any combination of:# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews## Note that "
使用CorFlags.exe來觀察dll的header資訊:1. 開啟 Visual Studio command prompt.2. 輸入 “CorFlags.exe [Assembly File Path]“.3.顯示下面的資訊:Microsoft (R) .NET Framework CorFlags Conversion Tool. Version 4.0.30319.1Copyright (c) Microsoft Corporation. All rights
db2 rollforward的練習--rollforward的練習--開啟歸檔日誌db2 update db cfg using LOGARCHMETH1 DISK:/home/db2inst1/archlog1/--備份資料庫db2 backup database mydb1 online to ~/backup/ compress/*Backup successful. The timestamp for this backup image is : 20120725232200*/db2
SSIS(SQL Server Integration Services)是用於產生企業級Data Integration和資料轉換解決方案的平台。使用 Integration Services 可解決複雜的業務問題,具體表現為:複製或下載檔案,寄送電子郵件以響應事件,更新資料倉儲,清除和挖掘資料以及管理 SQL Server 物件和資料。這些包可以獨立使用,也可以與其他包一起使用以滿足複雜的業務需求。Integration Services 可以提取和轉換來自多種源(如 XML