Solved

SQL Helper Class VB.net

Posted on 2011-02-17
4
3,188 Views
Last Modified: 2012-05-11
Does anyone know a decent SQL helper class that connects to A sql and mysql database for vb.net
0
Comment
Question by:Michael Roodt
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
Comment Utility
Sample for using Sql Helper Class

Dim nResult as integer
nResult = Convert.ToInt32(SqlHelper.ExecuteScalar(ConnectionString, CommandType.Text, "Select Count(id) from table"))

Open in new window

0
 
LVL 16

Accepted Solution

by:
Kalpesh Chhatrala earned 500 total points
Comment Utility
0
 
LVL 2

Author Comment

by:Michael Roodt
Comment Utility
With the quality codes example , it seems to seems to have some code missing at the end.
0
 
LVL 2

Author Closing Comment

by:Michael Roodt
Comment Utility
The code sample shown was not complete
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how the fundamental information of how to create a table.

763 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

8 Experts available now in Live!

Get 1:1 Help Now