Solved

VB and SQL Server

Posted on 2004-03-26
2
185 Views
Last Modified: 2010-05-01
Hi all,

Where can I find resources on the net on VB programming with SQL server as back-end?  I need info on "best practices" for connecting to sql server, lock types, cursors, exectuing SPs, sample code for db operations such as inset/delete/save etc.

Thanks

VBTiger
0
Comment
Question by:vbtiger
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 14

Accepted Solution

by:
Farzad Akbarnejad earned 50 total points
ID: 10693673
Hi,
Use ADO (ActiveX data Object) in Visual Basic to connect to SQL Server. Here is the samples:

http://msdn.microsoft.com/data/downloads/samples/default.aspx#SQLSamples

-FA
0
 
LVL 14

Expert Comment

by:Farzad Akbarnejad
ID: 10693693
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question