casting from sql server money

  • Thread starter Thread starter M K
  • Start date Start date
This does not work...

cmd.Parameters.Add("@BasePay", SqlDbType.Money).Value =
Convert.ToDecimal(txtPay.Text);
what am i doing wrong?
 
guess it doesnt convert to a number with a $ in it.. :)

now it does w/o the $ .. funny how that is.. uggg.. guess its tooooo early
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top