'Declaration
Public Overloads Function Add( _ ByVal name As String, _ ByVal param As IDbDataParameter _ ) As Integer
public int Add( string name, IDbDataParameter param )
The name parameter should be a simple name without any database-specific prefix such as "@" for SQL Server or ":" for Oracle. The SqlHelper will take care of adding the specific prefix.
NOTE: The instance of IDbDataParameter to add must match the same underlying type of parameter as that provided by the DbProvider associated with this collection (either the default provider or the one passed into the constructor for this collection). If they do not match, an error will be thrown when the query is executed.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family