Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Setting a Currency Field

$
0
0

Hi,

I am trying to set a currency field programmatically(C#).

expenses.Attributes["new_amount"] = ((Money)rowItem["Expense Amount"]).Value.ToString();

rowItem["Expense Amount"] has the amount value as "56". It did not work with the above line.

What is the correct way of inserting into Currency field?

Thanks for any help.


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>