请问?作如果不用BDE 和 ODBC 那么用什么作单机数据库最好?

解决方案 »

  1.   

    可是如果用ADO的话,不是要到ODBC中设置吗?还不是一样要ODBC
      

  2.   

    ADO直接支持Access
    使用Jet4.0驱动就行了
      

  3.   

    当然是用Interbase了,Delphi自带有Interbase 控件。很方便的,我公司的好多工程就是这样用的。
      

  4.   

    用Delphi自带的Pardox数据库啊!
    或者用Access数据库都可以。
      

  5.   

    object Form1: TForm1
      Left = 111
      Top = 109
      Width = 598
      Height = 391
      Caption = 'Form1'
      Color = clBtnFace
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      OldCreateOrder = False
      PixelsPerInch = 96
      TextHeight = 13
      object DBGrid1: TDBGrid
        Left = 32
        Top = 8
        Width = 545
        Height = 337
        DataSource = DataSource1
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
      end
      object DataSource1: TDataSource
        DataSet = ADOQuery1
        Left = 80
        Top = 96
      end
      object ADOQuery1: TADOQuery
        ConnectionString = 
          'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\test8\Crtt.mDB;P' +
          'ersist Security Info=False'
        Parameters = <>
        SQL.Strings = (
          'select * from crtt')
        Left = 112
        Top = 96
      end
    end