D DIGUA Unregistered / Unconfirmed GUEST, unregistred user! 2008-04-22 #3 DBGrid1.SelectedRows.Delete; 可删除,但是觉得你应该删除数据库中的数据才对啊
L lixin0117 Unregistered / Unconfirmed GUEST, unregistred user! 2008-04-22 #6 for i:=0 to DbGridEh1.SelectedRows.Count-1do begin //定位要刪除的數據 DataSet.GotoBookmark(pointer(DbGridEh1.SelectedRows.Items)); {自己寫代碼從數據庫中刪除數據} end;
for i:=0 to DbGridEh1.SelectedRows.Count-1do begin //定位要刪除的數據 DataSet.GotoBookmark(pointer(DbGridEh1.SelectedRows.Items)); {自己寫代碼從數據庫中刪除數據} end;