unit Unit1;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Data.DB, Data.Win.ADODB;

type
  TForm1 = class(TForm)
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    Label4: TLabel;
    Edit1: TEdit;
    Edit2: TEdit;
    Edit3: TEdit;
    Edit4: TEdit;
    Button1: TButton;
    ADOConnection1: TADOConnection;
    ADOQuery1: TADOQuery;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
begin
  ADOQuery1.Close;
  ADOQuery1.SQL.Clear;
  ADOQuery1.SQL.Add('INSERT INTO Kullanici(Kul_adi, emaili, sifresi, telno) VALUES(:Kul_adi, :emaili, :sifresi, :telno)');
  ADOQuery1.Parameters.ParamByName('Kul_adi').Value := Edit1.Text;
  ADOQuery1.Parameters.ParamByName('emaili').Value := Edit2.Text;
  ADOQuery1.Parameters.ParamByName('sifresi').Value := Edit3.Text;
  ADOQuery1.Parameters.ParamByName('telno').Value := Edit4.Text;
  ADOQuery1.ExecSQL;
  ShowMessage('Kayıt başarıyla eklendi!');
end;

end.