In other words, i have List of strings and i need to set field values with all of them, or get List of strings from this field. I tried to pass value "va1\nval2\nval3" but it didn't work.
Sorry, question text was cut, hope fixed it
Targutai, if you are setting it to the TreeNode, you will need to JOIN the values. What the string delimeter is (semi colon (;), comma (,), or bar (|)) depends on either the selector you use or how you handle them.
Use string.Split() and get your string into an array. Typically they are stored as pipe delimited values.
I tried to pass string array to TreeNode.SetValue() but there was an exception : No mapping exists from object type System.String[] to a known managed provider native type.
TreeNode.SetValue()
No mapping exists from object type System.String[] to a known managed provider native type.
Thank you Trevor! I needed to split my values with "|" char.
Please, sign in to be able to submit a new answer.