如何通过谷歌地图API获取世界上所有国家的列表?

时间:2013-01-30 05:35:39

标签: asp.net-mvc-3 google-maps

我正在开发一个项目,在注册页面中,我希望通过google API获取下拉列表中所有国家/地区的列表。我使用了cultureInfo,但它得到了unik 127个国家的列表。我想使用谷歌地图API。任何人都可以告诉我在控制器,视图和模型或需要什么我需要做什么?我对注册页面有一个看法

@model Retail_MVC.Models.registration
@{

    Layout = null;
}

<div class="my_wrapper">
         <div class="my_left_box">
            @Html.LabelFor(model => model.username)
         </div>
         <div class="my_right_box">
           <input type="text" id="txtusername" name="UserName"/>         
         </div>

   </div>
  -- here i want to get dropdownlist for all countries--

0 个答案:

没有答案