![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
salesforce
我的剑会笑
这个作者很懒,什么都没留下…
展开
-
Solution for issue of number/currency/date/datetime/boolean type not updating in salesforce.
When updating or inserting double type field, there is an boolean attribute needs to be set other than just setting the value of the double type field.clientForUpdate.Usage_Balance__c = Convert.ToDouble(txtBalance.Text.ToString());clientForUpdate.Usage_Bal原创 2010-07-07 15:54:00 · 435 阅读 · 0 评论 -
About type "double?".
<br />When encountering type "double?", we can use ".value " to get the value.<br /> <br />For instance:<br /> <br />If A is of double? type, you may get "cannot convert double? to string" when you use A.ToString() . To solve this problem, change it to A原创 2010-08-05 14:21:00 · 427 阅读 · 0 评论 -
在.net下将saleforce字段值更新为null或空字符串。
<br /> 假设我们有一个salesforce object: PhoneNumber__c, 它有一个字符串属性Status__c,如果要将其值(假设原值为“Good”)更改为空,在.net下直接用:<br /> <br /> PhoneNumber__c pn = new PhoneNumber__c();<br /> pn.Status__c = "";<br /> <br />是没有用的,它的值依然是Good。<br /> <br />正确更新办法:<br原创 2010-08-31 11:41:00 · 535 阅读 · 0 评论