🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #361

Re: Newbee MSSQL How to?

#361
From: Mark Guerrieri
Date: Fri, 08 Sep 2006 15:07
9 lines
1344 bytes
> What is the best way to connect to mssql server?

Drop a TADOConnection and a TADOQuery on a form.  Set the 
TADOConnection.ConnectionString to a vaid connection string for your 
database. Set the TADOQuery.Connection property to the TADOConnection. Set 
the TADOQuery.SQL property to the SQL you want to execute.  Call 
TADOQuery.Open().

Mark 
Technical Details
Message-ID: <450186d4@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45010989$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,902d88222c160ff7
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Guerrieri" <mguerrieri@no_spam_verizon.net>
Newsgroups: borland.public.cppbuilder.database.ado
References: <45010989$1@newsgroups.borland.com>
Subject: Re: Newbee MSSQL How to?
Date: Fri, 8 Sep 2006 11:07:03 -0400
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 71.248.205.32
Message-ID: <450186d4@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1157727956 71.248.205.32 (8 Sep 2006 08:05:56 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail