Fastest Database What Is The Fastest Way Of Connecting To MS SQL Server 2000 Database Using VB And C#?

What is the fastest way of connecting to MS SQL Server 2000 Database using VB and C#? - fastest database

One word - ADO (ok - it is really 3 words, but you know what I mean!) I see on this site:

http://msdn2.microsoft.com/en-us/library ...

When connecting to databases using the language of MS, everything is on the ADO library. Good luck.

1 comments:

Anung Waskito said...

VB.net 2003
At the beginning of the file == ===
Imports System.Data.Sql

=== Form Load / where you connect to the DB ==
As New SqlConnection with Sun
Con.Open "Password = pwd; Persist Security Info = True; User ID = sa; Initial Catalog = asdf; Data Source = 127.0.0.1"


Notes == ===
Replace pwd password for SQL Server
His Replace the SQL Server user ID
Asdf Replace the name of the database
Replace 127.0.0.1 with your mailing

Post a Comment