📄 dbset.~pas
字号:
unit dbset;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ahmtlabel, ahmtbackground, ExtCtrls, ahmtpanel,
Buttons;
type
TF_DBSet = class(TForm)
AHMPanel1: TAHMPanel;
AHMBackground1: TAHMBackground;
AHMLabel1: TAHMLabel;
AHMLabel2: TAHMLabel;
AHMLabel3: TAHMLabel;
Edit1: TEdit;
Edit2: TEdit;
SpeedButton1: TSpeedButton;
SpeedButton2: TSpeedButton;
procedure SpeedButton1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
F_DBSet: TF_DBSet;
implementation
uses dm;
{$R *.dfm}
procedure TF_DBSet.SpeedButton1Click(Sender: TObject);
begin
MyDM.ADOConnection1.ConnectionString := 'Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Limis;Data Source=JUNX;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=JUNX;Use Encryption for Data=False;Tag with column collation when possible=False';
MyDM.ADOConnection1.Connected := True;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -