Show / Hide Table of Contents

SqlHelper Constructor(DbProvider,String)

The specific DbProvider instance that this instance of SqlHelper should use when performing database operations

The text command to execute. The default value is an empty string ("").

Creates a new instance of SqlHelper using the specified DbProvider instance and command text (SQL statement) and the CommandType set to Text

Syntax

'Declaration

Public Function New( _
   ByVal _dataProvider_ As DbProvider, _
   ByVal _cmdTxt_ As String _
)
public SqlHelper( 
   DbProvider _dataProvider_,
   string _cmdTxt_
)

Parameters

dataProvider

The specific DbProvider instance that this instance of SqlHelper should use when performing database operations

cmdTxt

The text command to execute. The default value is an empty string ("").

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family

Reference

SqlHelper Class
SqlHelper Members
Overload List

Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.