Created
April 20, 2012 21:18
-
-
Save gabrielpascua/2431962 to your computer and use it in GitHub Desktop.
IDbDataParameter usage for sql decimal output parameters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IDbDataParameter modifier = cmd.CreateParameter(); | |
| modifier.DbType = DbType.Decimal; | |
| modifier.Precision = 3; | |
| modifier.Scale = 2; | |
| modifier.Direction = ParameterDirection.Output; | |
| modifier.ParameterName = "@modifier"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment