Solved

SQL Helper Class VB.net

Posted on 2011-02-17
4
3,258 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
ID: 34915802
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
ID: 34915823
0
 
LVL 2

Author Comment

by:Michael Roodt
ID: 34918511
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
ID: 34942125
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.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

803 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