Below is the information I receive from DB. It's originally from an XML file, but this is stored in DB table and I can't change the situation. I need to work these way, since there is no more information available.
I read these in a dataset and my rows contains the 4 POSSIBLE ways.... I used Value1, Value2, Value3, Value4.... Is there a way to easily get these Values. Value 4 is special. I don't know how it comes but it looks like a tag... But I need that.
< LOCATION> \n < P>Value1< /P> \n < /LOCATION>
< ACCEPTED_VARIANTES VALUE=\"Value2\" />
< PERIOD_DAY> Value3 < /PERIOD_DAY>
< AWARD_CRITERIA_DETAIL > \n < Value4/> \n < /AWARD_CRITERIA_DETAIL>
so the result should be:
e.g.
string location = "value1";
string acceptedVariantes = "Value2";
int period = Value3;
string AwarDetail = "Value4";