J
jez
Hi all,
I'm reading an xml file into a DataSet. In that xml file there are & in the
form of " & " as otherwise the xml file cannot be validated. When I want
to display a label in my CF app that reads from the dataset mentioned
earlier, and an ampersand is read the label will show Text (with the t
underlinded) text instead of Text & text.
However (and this is where this problem really gets to my nerves) I can
display a textBox correctly with the same data! That is : the & will
display correctly!
There are two options :
1) I get some other way to write an ampersand in the xml file that can be
read properly from all my controls
2) I use a textBox (which i do at the moment) but I need a way to change the
background color of the textBox even though the textBox is read-only
(basically make it act like a label).
Anyone's got an answer to that ?
thanks in advance
I'm reading an xml file into a DataSet. In that xml file there are & in the
form of " & " as otherwise the xml file cannot be validated. When I want
to display a label in my CF app that reads from the dataset mentioned
earlier, and an ampersand is read the label will show Text (with the t
underlinded) text instead of Text & text.
However (and this is where this problem really gets to my nerves) I can
display a textBox correctly with the same data! That is : the & will
display correctly!
There are two options :
1) I get some other way to write an ampersand in the xml file that can be
read properly from all my controls
2) I use a textBox (which i do at the moment) but I need a way to change the
background color of the textBox even though the textBox is read-only
(basically make it act like a label).
Anyone's got an answer to that ?
thanks in advance