TwitterLinkedInBlog

Wednesday, April 22, 2009

SP2007 - How to retrieve text from an Enhanced rich text column

SPFieldMultiLineText sampleField = sampleListItem.Fields["Sample"] as SPFieldMultiLineText;
string sampleText = sampleField.GetFieldValueAsText(sampleListItem["Sample"]);

No comments: