Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

26.2.3.7. The MySqlHelper Class

Helper class that makes it easier to work with the provider. Developers can use the methods of this class to automatically perform common tasks.

26.2.3.7.1. Properties

The MySqlHelper class has no properties.

26.2.3.7.2. Methods

The following methods are available:

  • ExecuteDataRow: Executes a single SQL command and returns the first row of the resultset. A new MySqlConnection object is created, opened, and closed during this method.

  • ExecuteDataset: Executes a single SQL command and returns the resultset in a DataSet. A new MySqlConnection object is created, opened, and closed during this method.

  • ExecuteNonQuery: Executes a single command against a MySQL database. The MySqlConnection is assumed to be open when the method is called and remains open after the method completes.

  • ExecuteReader: Overloaded. Executes a single command against a MySQL database.

  • ExecuteScalar: Execute a single command against a MySQL database.

  • UpdateDataSet: Updates the given table with data from the given DataSet.


 
 
  Published under the terms of the GNU General Public License Design by Interspire