XmlNode userNode = resultNode.SelectSingleNode("generalinfo", nsmgr); if (userNode != null) { genInfoViewModel.StartDate = userNode.Attributes["effectivedate"] != null ? userNode.Attributes["effectivedate"].Value : string.Empty; genInfoViewModel.TotRetailSquareFeet = userNode.Attributes["retailsqft"] != null ? userNode.Attributes["retailsqft"].Value : string.Empty; genInfoViewModel.TotalSquareFeet = userNode.Attributes["totalsqft"] != null ? userNode.Attributes["totalsqft"].Value : string.Empty; genInfoViewModel.CityPopulation = userNode.Attributes["citypopulation"] != null ? userNode.Attributes["citypopulation"].Value : string.Empty; genInfoViewModel.GunLicense = userNode.Attributes["gunlicense"] != null ? userNode.Attributes["gunlicense"].Value : string.Empty; genInfoViewModel.TaxRegistration = userNode.Attributes["taxregnum"] != null ? userNode.Attributes["taxregnum"].Value : string.Empty; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)