Relative Content

Tag Archive for c#xmlcsvlinqconverters

when converting the code from csv to xml, the text does not transfer from the file

when running the code, a terminal is launched in which all the text from my file is shown, but then when opening the file it is not there. What could be wrong. my code is so that each attribute can find its line by the letter from the first column and determine what information it needs, for example, when it sees a RE, it puts information from the second column along this line in attribute1, and attribute2 from the third column. when he sees the letter T, attribute 3 takes from the second column, attribute 4 from the third column and AdditionalElements from the sixth. When he sees the letter H, attribute5 uses information from 2 columns, attribute6 uses the third column, attribute7 uses the 4th column and everything uses only this row N. and when he sees the letter P, he takes information from his line and uses attribute8 the second column, attribute9 the third column, attribute10 the fourth column and in attribute 11 the fifth column etc…