邮政编码到城市/州查询XML文件? [英] Zipcode to city/state look-up XML file?

查看:96
本文介绍了邮政编码到城市/州查询XML文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图找到一个XML文件,我可以代替查找数据库表使用,直到我们将网络托管切换到正确的数据库为止.

任何人都可以引用我的XML文件,其中包含其子项具有邮政编码,州和城市的元素吗?例如:

<zip code="98117">
    <state>WA</state>
    <city>Seattle</state>
</zip>

<entry>
    <zip>98117</zip>
    <state>WA</state>
    <city>Seattle</city>
</entry>

我将在C#中使用LINQ查询此数据.

解决方案

看看这个,它提供了几种不同的免费版本.

https://stackoverflow.com/questions/24471/zip-code-database

Trying to find an XML file I can use in lieu of a look-up database table until we get our web hosting switched over to the right DB.

Can anyone refer me to an XML file with elements whose children have zipcodes, states, and cities? E.g.:

<zip code="98117">
    <state>WA</state>
    <city>Seattle</state>
</zip>

Or

<entry>
    <zip>98117</zip>
    <state>WA</state>
    <city>Seattle</city>
</entry>

I'll be using LINQ in C# to query this data.

解决方案

Check out this one, it provides several different free ones.

https://stackoverflow.com/questions/24471/zip-code-database

这篇关于邮政编码到城市/州查询XML文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆