dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlHelper Class / ExecuteDataRow Method
Settings to be used for the connection.
The command to execute.
Parameters to use for the command.

In This Topic
    ExecuteDataRow Method
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Shared Function ExecuteDataRow( _
       ByVal connectionString As String, _
       ByVal commandText As String, _
       ByVal ParamArray parms() As MySqlParameter _
    ) As DataRow
    public static DataRow ExecuteDataRow( 
       string connectionString,
       string commandText,
       params MySqlParameter[] parms
    )

    Parameters

    connectionString
    Settings to be used for the connection.
    commandText
    The command to execute.
    parms
    Parameters to use for the command.

    Return Value

    System.Data.DataRow containing the first row of the resultset.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also