string to sqlmoney conversion

suckerhot

New Member
This what i have, I want to save a string from my asp.net page to a money type on the Sql server database. I had wrote: <BR><BR>CType(txtUSFunds.Text, Decimal) <BR><BR>and this is the error I get: <BR><BR>Disallowed implicit conversion from data type varchar to data type money, table '_PRfq.dbo.RFQMaster', column 'USFunds'. Use the CONVERT function to run this query. <BR><BR>What do I do to get this to save to the database.<BR>Thankyou for your time.I posted a response to this on your other thread.
 
Back
Top