...Connect To Sql Server 2000 ?
Author: Mostafa Sarbazzadeh
procedure TForm1.Button1Click(Sender: TObject);
begin
ADOConnection1.ConnectionString := 'Server=Hostname;DataBase=DatabaseName';
ADOConnection1.Open('UserName', 'Password');
ADOConnection1.Connected := True;
end;
{* For Any Information Mail Me *
Mail : Mostafa@Touska.Co.ir0
printed from
www.swissdelphicenter.ch
developers knowledge base