來自IGN.COM的文字直播: 14:00 - FMV sequence in a spaceship - looks Terran - zooming in on a metal door - door opening - reveals a guy with a cigar in chains - prisoner - door shuts behind him - there's so much bass the room is shaking - guy steps into
最近在工作中使用到了GridView這個控制項,很好用,可當綁定資料量較大時,就會有效能問題,經過分析,找到了一種可以解決這個問題的方法,其實質是下面的SQL(Oracle)語句:select a.* from (select rownum as row_id, b.* from (select * from table_name order by column_name asc) b) a where a.row_id between record_begin_index
FrankFei at 2007/07/31 對ObjectBuilder有所瞭解的可能知道,裡面使用了Strategy模式,而在GOF中有這樣一句:策略又稱做政策(Policy),那問題就來了,在ObjectBuilder中,IBuilderPolicy和IBuilderStrategy到底有什麼區別呢?系統為什麼會同時引入這兩個概念呢?我們先來看一下類Builder: public class Builder : BuilderBase<BuilderStage> {
翻譯整理ScottGu的關於LINQ to SQL的Part 4: Updating our Database 。該Post講解了如何使用LINQ to SQL更新資料庫,以及如何整合商務邏輯和自訂驗證邏輯。開發環境為.NET Framework 3.5 Beta2,開發工具為Visual Studio 2008 Beta2。 使用LINQ to SQL建模Northwind資料庫在這之前一起學過LINQ to SQL設計器的使用,下面就使用如下的資料模型:當使用LINQ to
今天看到了ScottGu在其部落格上發布了LINQ to SQL的第三部分LINQ to SQL (Part 3 - Querying our Database),自己也載到了Visual Studio 2008 Beta1版,結合自己的實際學習操作,翻譯整理一下。Northwind資料庫使用LINQ設計器建模通過以前的學習,我們已經知道如何使用Visual Studio 2008內建的用於LINQ to SQL設計器建立類模型。下面就是所建立的Northwind資料庫類模型: