Y
yandong_mars
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.Button2Click(Sender: TObject);<br>var<br> ADOConnection2 : TADOConnection;<br>begin<br>// CoInitialize(nil);<br> ADOConnection2 := TADOConnection.Create(self);<br> ADOConnection2.ConnectionString := 'Provider=OraOLEDB.Oracle.1;Password=pacs31;Persist Security Info=True;User ID=pacs31;Data Source=pacs_ydey_test;Extended Properties=""';<br> ADOCOnnection2.Open;<br> ADOConnection2.Destroy;<br> ADOConnection2 := nil;<br>// CoUnInitialize;<br>end;