473,473 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

database connection

Dear All,

I used to connect to SQL server using ADO in vb6 few years ago.
Can anyone please tell me what is the most stable and efficient method to
connect to SQL server with VB nowadays? Thanks.
Nov 21 '05 #1
7 1886

" -00Eric Clapton" <a@b.com> wrote in message
news:uz*************@TK2MSFTNGP10.phx.gbl...
Dear All,

I used to connect to SQL server using ADO in vb6 few years ago.
Can anyone please tell me what is the most stable and efficient method to
connect to SQL server with VB nowadays? Thanks.

Use ADO.
Nov 21 '05 #2
I forget the code. Can you please give me some sample of the connection to
SQL server and how to read and modify a table? Thanks.
"Robert Berman" <Be******@NOSPAM.earthlink.net> wrote in message
news:zD*****************@newsread1.news.pas.earthl ink.net...

" -00Eric Clapton" <a@b.com> wrote in message
news:uz*************@TK2MSFTNGP10.phx.gbl...
Dear All,

I used to connect to SQL server using ADO in vb6 few years ago.
Can anyone please tell me what is the most stable and efficient method to
connect to SQL server with VB nowadays? Thanks.

Use ADO.

Nov 21 '05 #3
ADO Connection Strings (Carl Prothman):
http://www.carlprothman.net/Default.aspx?tabid=81

Connection Strings:
http://www.connectionstrings.com
--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--
" -00Eric Clapton" <a@b.com> wrote in message
news:Oi*************@tk2msftngp13.phx.gbl...
I forget the code. Can you please give me some sample of the connection to
SQL server and how to read and modify a table? Thanks.
"Robert Berman" <Be******@NOSPAM.earthlink.net> wrote in message
news:zD*****************@newsread1.news.pas.earthl ink.net...

" -00Eric Clapton" <a@b.com> wrote in message
news:uz*************@TK2MSFTNGP10.phx.gbl...
Dear All,

I used to connect to SQL server using ADO in vb6 few years ago.
Can anyone please tell me what is the most stable and efficient method
to
connect to SQL server with VB nowadays? Thanks.

Use ADO.


Nov 21 '05 #4
Check
http://www.connectionstrings.com/

or
http://www.carlprothman.net/Default.aspx?tabid=81
" -00Eric Clapton" <a@b.com> wrote in message
news:Oi*************@tk2msftngp13.phx.gbl...
I forget the code. Can you please give me some sample of the connection to
SQL server and how to read and modify a table? Thanks.
"Robert Berman" <Be******@NOSPAM.earthlink.net> wrote in message
news:zD*****************@newsread1.news.pas.earthl ink.net...

" -00Eric Clapton" <a@b.com> wrote in message
news:uz*************@TK2MSFTNGP10.phx.gbl...
Dear All,

I used to connect to SQL server using ADO in vb6 few years ago. Can anyone please tell me what is the most stable and efficient method to connect to SQL server with VB nowadays? Thanks.

Use ADO.


Nov 21 '05 #5

" -00Eric Clapton" <a@b.com> wrote in message
news:uz*************@TK2MSFTNGP10.phx.gbl...
Dear All,

I used to connect to SQL server using ADO in vb6 few years ago.
Can anyone please tell me what is the most stable and efficient method to
connect to SQL server with VB nowadays? Thanks.

Same as it was a few years ago. <g> It hasn't changed, provided you're
using the same technologies today as you were a few years ago. Why did you
post this to a "dotnet" newsgroup, BTW? Are you using .NET now rather than
VB6? Even office.developer.vba is non-relevant.
--
Mike
Microsoft MVP Visual Basic
Nov 21 '05 #6
well the method is the same. but may be learning from vb dot net may
help you in understanding the new idea which method should be chosen i
chose disconnected and xml in this case to avoid direct interaction
with database..

Nov 21 '05 #7
Eric,

With VB Net the most stable method for SQL server is the SQLClient as part
of ADONET.

As I have understand is one of the reasons the disconnected approach from
AdoNet is a change on instability in hugh Databases with Ado.

The connectionstring sites you got are as well the ones for ADONET

The newsgroup for that is

microsoft.public.dotnet.framework.adonet

I hope this helps,

Cor
Nov 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mudge | last post by:
Hi, My hosting provider only allows me to use 50 connections to my MySQL database that my Web site will use. I don't know what this 50 connections means exactly. Does this mean that only 50...
11
by: pradeep_TP | last post by:
Hi all, I have a few questions that I have been wanting to ask for long. These are all related to ADO.net and specifically to conenction to database. 1) If I have opened a connection to a...
3
by: R Reyes | last post by:
Hi, I'm trying to modularize my database connections a little better and get more out of my project with less code. First check out this common dbOpen() function inside class clsDatabase. I...
14
by: Nick Gilbert | last post by:
Hi, I have an asp.net application which runs from a CD-ROM using Cassini. As such, it is single user only. The application connects to an Access database when it is loaded, and keeps the same...
7
by: Lau Lei Cheong | last post by:
Hello, Actually I think I should have had asked it long before, but somehow I haven't. Here's the scenerio: Say we have a few pages in an ASP.NET project, each of them needs to connect to...
3
by: Martin B | last post by:
Hallo! I'm working with C# .NET 2.0, implementing Client/Server Applications which are connecting via Network to SQL-Server or Oracle Databases. To stay independent from the underlaying Database...
35
by: Terry Jolly | last post by:
Web Solution Goal: Have a global database connection Why: (There will be 30+ tables, represented by 30+ classes) I only want to reference the database connection once. I put the connection...
6
by: Arsalan Ahmad | last post by:
Hi all, I am creating a website in which in an Item detail page there are a number of web controls (7 or 8) and what is happening that inside each of control's Page_Load() function I am creating...
22
Frinavale
by: Frinavale | last post by:
How To Use A Database In Your Program Many .NET solutions are database driven and so many of us often wonder how to access the database. To help you understand the answer to this question I've...
1
Curtis Rutland
by: Curtis Rutland | last post by:
How To Use A Database In Your Program Part II This article is intended to extend Frinny’s excellent article: How to Use a Database in Your Program. Frinny’s article defines the basic concepts...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.