全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:847
推到 Plurk!
推到 Facebook!

DataSet & Query 的不同點?

尚未結案
hornacek
一般會員


發表:29
回覆:76
積分:21
註冊:2004-02-02

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-03-23 09:04:49 IP:202.145.xxx.xxx 未訂閱
想請問一下,DataSet 和 Query 有什麼不同?兩者似乎都能將SELECT的結果存在記憶體中,不知道這兩者的差別在哪?做的事情也都一樣哩?    發表人 -
hornacek
一般會員


發表:29
回覆:76
積分:21
註冊:2004-02-02

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-03-23 12:08:44 IP:210.243.xxx.xxx 未訂閱
一般使用DataSet,Table或Query的Insert, Delete函式都會直接在資料庫上做變更,而只有ClientDataSet,才只會在記憶體中做變更,這樣的說法不知道正不正確?謝謝各位大大的指教!   
timhuang
尊榮會員


發表:78
回覆:1815
積分:1608
註冊:2002-07-15

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-03-29 21:31:26 IP:61.62.xxx.xxx 未訂閱
HI, 節錄一段 help 中的資料 TDataSet introduces the basic properties, events, and methods for working with data. Many of these properties, events, and methods are abstract (Delphi) or pure virtual (C ) in TDataSet. Abstract or pure virtual declarations are declarations without implementations. At the TDataSet level they cannot be used or accessed. Developers must use or derive descendants of TDataSet that redeclare and implement these abstract or pure virtual methods. Many of the other TDataSet methods are declared and implemented in TDataSet as virtual methods, but the implementations are merely stubs that are reimplemented in descendants. 基本上 TDataSet 是 TQuery 的上好幾層父代. 看一下這段你就會比較明白一點囉!
系統時間:2024-04-30 15:28:53
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!