???????? 對于northwind數據庫大家都比較熟悉,所以這里拿它為例,我把customers(客戶表)、orders(訂單表)、order details(訂單詳細表)合起來建立了一個類型化的數據集,類型名稱為datasetorders,每個表只包括一些字段,下面是在visual studio .net中建立的一個截圖:
???????????????????????????????? throw new argumentexception( "the tablenames parameter must contain a list of tables, a value was provided as null or empty string.", "tablenames" );