MySqlHelper.ExecuteDataRow
Method
Executes a single SQL statement and returns the first row of the resultset. A new MySqlConnection object is created, opened, and closed during this method.
Syntax: Visual Basic
Public Shared Function ExecuteDataRow( _ ByVal connectionString As String, _ ByVal commandText As String, _ ParamArray parms As MySqlParameter() _ ) As DataRow
Syntax: C#
public static DataRow ExecuteDataRow( stringconnectionString, stringcommandText, params MySqlParameter[]parms );
Parameters
connectionString
: Settings to be used for the connectioncommandText
: Command to executeparms
: Parameters to use for the command
Return Value
DataRow containing the first row of the resultset
See Also
MySqlHelper Class, MySql.Data.MySqlClient Namespace