-
March 16th, 2011, 04:03 AM
#1
How to define decimal sqlparameter
Dear Sir,
I know to define integer type sqlparameter but I do not know the decimal type sqlparameter for the precession. how to define please give me a example.
I am giving a sample example.
//Code
Dim sqlparameters(2) as sqlparameter
sqlparameters(0)=new sqlparameter ("@RMID", SqlDbtype.integer,7)
but in case of decimal I am giving like this
sqlparameters(1)=new sqlparameter ("@RMID", SqlDbtype.decimal,7,2)
which is wrong
-
March 16th, 2011, 11:05 AM
#2
Re: How to define decimal sqlparameter
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|