Solved

VB and SQL Server

Posted on 2004-03-26
2
183 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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

816 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now