在after delete觸發器中執行update語句,更新另外一個表單資料ALTER TRIGGER [dbo].[UpdateBookOfStudentFlag]on [dbo].[tblBookInvoiceDetail] AFTER DELETEAS BEGINupdate BookOfStudent set flag_orderUsed=0 where BookOfStudent.id = 52812--(select Book_ofStudent_Id from deleted)
If you have customized a SharePoint 2010 aspx page by using SharePoint Designer, you may experience that when opening the modified webpage in your browser, that a yellow bar below the navigation bar will appear. This is not actually a error. This is
“物件導向編程是一個極其糟糕的主意,只有矽谷裡的人能幹出這種事情。” — Edsger Dijkstra(圖靈獎獲得者)“物件導向設計是用羅馬數字做計算。” — Rob Pike(Go語言之父)““物件導向”這個詞包含很多意思。有一半是顯而易見的,而另一半是錯誤的。“ — Paul Graham(美國互連網界如日中天的教父級人物)“實現上的繼承就跟過度使用goto語句一樣,使程式擰巴和脆弱。結果就是,物件導向系統通常遭受複雜和缺乏複用的痛苦。” — John
今天在這裡看到一份關於Reflector的非常好的資源,這裡列出幾乎所有的Reflector的add-in,具體看下面列表。下載 .NET Reflector here .Add-InsCodeMetrics: Download Review: Allows editing and managing annotations during code reviews. Download Diff : This add-in shows differences between two
今天偵錯工具過程中,又遇到了一個問題:“Error while trying to run project: Unable to start debugging on the web server. 記憶體配置訪問無效”。(呵呵!今天好象程式總是喜歡和自己開這樣的玩笑,不過我的觀點是:不要怕遇到問題,這是鍛煉自己解決問題的最好方式)。下面我來說一下我解決的方式(其實也很簡單)。 依然先藉助於強大的搜尋引擎Baidu,找到以下相關資料:
以前裝了VisualSVN server 在Windows xp下部署特別快捷。管理起來也特別方便,一般要求不高,需要快速建立svn的話這是一個不錯的選擇。最近發現svn啟動不起來了,重新安裝、重啟電腦也不能解決問題,提示看事件管理器。通過管理器看到如下的資訊Parent: child process exited with status 6 -- Aborting.Child 11384: setup_inherited_listeners(), WSASocket failed to
Windows CE系統將GPIO的真實位址(例如2440的GPIO的基地址為0x56000000)映射到虛擬位址空間(GPIO對應為0xB1600000),這 樣,通過對這段虛擬位址空間的操作,就能夠完成對GPIO或者其他片內資源的控制、輸入輸出工作。要操作一個平台的GPIO,在其對應BSP中按照基地址,找到虛擬位址,並且找到方便操作這個地址的資料結構就可以了,關鍵函數就是 VirtualAlloc和VirtualCopy。下面以操作Samsung S3C2440的GPIO為例,講述這個步驟: