C# winform: I asked a similar Q but didn’t reached to the solution so i want to make it more clear, I have a string let suppose
str = "<sample>
<sample1 name="val1">
<sample2 name="val2">
</sample2>
<sample2 name="val3">
<groupbox name="val4">
<field type="textArea" x="xxx" />
</groupbox>
</sample2>
</sample1>
<sample1 name="abc">
</sample1>
<sample1 name="xyz">
</sample1>
</sample>"
i want to get the attributes and thier values from this string and place it in gridView notice that this string is just an example it could be changed. or display in any control like richTextField …. etc
try this: