replacing null with zero in xml file

liaplelligo

New Member
we have mapping files in xml that get columns from txt files and map their values to specific tables. we are getting an error when the file includes null cells.so i tried to replace null with '0' like this:\[code\]<Map To='MeasureValues[{GetMeasure("ClientSpecific3")}]' Var='EstimatedTotal' Field='Estimated Total' Value='http://stackoverflow.com/questions/15727451/{EstimatedTotal.ToString().Replace(string.Empty,"0")}' />\[/code\]and i get this error:"String cannot be of zero length"
 
Back
Top