BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Vb.NET into Delphi

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sun Mar 05, 2006 1:03 am    Post subject: Vb.NET into Delphi Reply with quote



Hi,

What's the equivalent of this VB.NET code in Delphi 7 ?
Which component do I need to use?
++++++++++++++++++++++++++++++++++++
sqlConnection = New sqlConnection("packet size=4096;integrated
security=SSPI;data source=SERVER1;persist security info=False;initial
catalog=MyDB")
sqlAdapter.SelectCommand = sqlCommand
sqlAdapter.SelectCommand.Connection = sqlConnection
++++++++++++++++++++++++++++++++++++

Once converted, is it possible to run the EXE on PC that have no Delphi
installed (no BDE) nor VB.NET, just MS SQL server?
If the answer is NO, what else do I need to install so that the EXE can
access the database?

Thanks.
Alan.
Back to top
Riki Wiki
Guest





PostPosted: Sun Mar 05, 2006 3:03 am    Post subject: Re: Vb.NET into Delphi Reply with quote



Hoi Alan

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question.

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.