Sharepoint: Convert a SPFieldMultilineText to SPFieldText
- by driAn
Hi
Is it possible to programmatically change a "multi-line text field" to "single-line text field" ?
SPFieldMultiLineText field = list.Fields["sample"] as SPFieldMultiLineText;
// how to change the type to 'single line' now ?
Or do I need to create an additional field (with a similiar name) and migrate the content?
Thanks for any help.