Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SQL Helper Class VB.net

Posted on 2011-02-17
4
Medium Priority
?
3,467 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 1500 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Suggested Courses

810 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