(Moderator)
Registriert seit: 9. Dez 2005
Ort: Heilbronn
39.858 Beiträge
Delphi 11 Alexandria
|
Re: csv-datei automatisch in db einlesen
6. Sep 2006, 21:24
Delphi-Quellcode:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, JvCsvData;
type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
JvCsvDataSet: TJvCsvDataSet;
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm4.FormCreate(Sender: TObject);
begin
JvCsvDataSet := TJvCsvDataSet.Create( self);
JvCsvDataSet.FieldDefs.Add(...);
end;
end.
Markus Kinzler
|
|
Zitat
|