The below code is convert the SharePoint customList multiLine text column to string using c#
String description = Convert.ToString(item["Description"]);
SPHttpUtility.ConvertSimpleHtmlToText(description, -1);
String description = Convert.ToString(item["Description"]);
SPHttpUtility.ConvertSimpleHtmlToText(description, -1);
No comments:
Post a Comment