⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit1.dfm

📁 导入导出Excel的源码
💻 DFM
字号:
object Form1: TForm1
  Left = 192
  Top = 107
  Width = 642
  Height = 384
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  PixelsPerInch = 96
  TextHeight = 13
  object grdlist: TDBGrid
    Left = 8
    Top = 48
    Width = 617
    Height = 297
    DataSource = DataSource1
    ImeName = #32043#20809#25340#38899#36755#20837#27861
    ReadOnly = True
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object btn: TBitBtn
    Left = 7
    Top = 10
    Width = 74
    Height = 24
    Caption = #36873#25321#25991#20214
    Font.Charset = ANSI_CHARSET
    Font.Color = clGreen
    Font.Height = -13
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
    TabOrder = 1
    OnClick = btnClick
  end
  object btnin: TBitBtn
    Left = 455
    Top = 10
    Width = 66
    Height = 24
    Caption = #23548#20837
    Font.Charset = ANSI_CHARSET
    Font.Color = clGreen
    Font.Height = -13
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
    TabOrder = 2
    OnClick = btninClick
  end
  object Edit1: TEdit
    Left = 96
    Top = 12
    Width = 297
    Height = 21
    TabOrder = 3
  end
  object BitBtn1: TBitBtn
    Left = 543
    Top = 10
    Width = 66
    Height = 24
    Caption = #23548#20986
    Font.Charset = ANSI_CHARSET
    Font.Color = clGreen
    Font.Height = -13
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
    TabOrder = 4
    OnClick = BitBtn1Click
  end
  object ADOConnection1: TADOConnection
    Connected = True
    ConnectionString = 
      'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=ExcelCtr.mdb;Persis' +
      't Security Info=False'
    LoginPrompt = False
    Mode = cmShareDenyNone
    Provider = 'Microsoft.Jet.OLEDB.4.0'
    Left = 96
    Top = 64
  end
  object DataSource1: TDataSource
    DataSet = ADOQuery1
    Left = 216
    Top = 64
  end
  object OpenDialog1: TOpenDialog
    Left = 280
    Top = 64
  end
  object ADOQuery1: TADOQuery
    Active = True
    Connection = ADOConnection1
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from tsource')
    Left = 408
    Top = 8
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -