c# - dynamics crm 4 newlines in sdk -


I have several multi-line text fields in a unit in CRM 4. When I use the value from a multi-CD via something like Windows.Forms.Textbox in CD #

  this.textbox.text = myOpportunity.new_detail.ToString ();  

New characters are not transferred properly. They appear as small squares in their C # form fields.

How do I convert them properly in both directions (Bring and update)?

I suspect that they are only line feed (instead of the carriage return line feed (\ r \ n) \ N) are coming in the form of.

You can probably just replace a simple location:

  this.textbox.text = myOpportunity.new_detail.ToString (). Change ("\ n", "\ r \ n");  

And then inverted in the opposite direction.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -