
Single line Stored Procedure Parameter Syntax
iforsyth,
On 31 Jan 2003 16:36:00 -0800
inline...
Quote:
> Is there a way to specify the direction property value on the same
> line, so that all my parameter information is setup with one line of
> code?
Like this.
cmdRead.Parameters.Add( _
New SqlClient.SqlParameter( _
SqlDbType.VarChar, _
11, _
ParameterDirection.Input, _
True, _
Nothing, _
Nothing, _
"Description", _
DataRowVersion.Default, _
strID))
---
| aMailAddress |