//Geo繧ウ繝シ繝?ぅ繝ウ繧ー逕ィ縺ョ繧ッ繝ゥ繧ケ繧剃スソ縺」縺ヲ縲∽ス咲スョ諠??ア繧貞叙蠕励☆繧九Γ繧ス繝?ラ繧貞ョ溯。? GeoResult geo = GetCoding(this.TextBox1.Text); //讀懃エ「邨先棡縺ォ邱ッ蠎ヲ諠??ア縺後↑縺九▲縺溘i繝ゥ繝吶Ν縺ォ繧ウ繝。繝ウ繝医r陦ィ遉コ if (geo.Lat == null) { this.Label2.Text = "菴乗園縺後ム繝。縺?縲?; return; } //讀懃エ「譚。莉カ繧呈欠螳壹@縺ヲ邨先棡繧貞叙蠕励☆繧偽RL繧剃ス懊k string gvUrl = "http://api.gnavi.co.jp/ver1/RestSearchAPI/?keyid={0}&category_l={1}&hit_per_page={2}&latitude={3}&longitude={4}&range={5}&freeword={6},{7}&freeword_condition=2"; string AccessKey = "?懷叙蠕励@縺溘い繧ッ繧サ繧ケ繧ュ繝シ??; //繝峨Ο繝??繝?繧ヲ繝ウ繝ェ繧ケ繝医〒驕ク謚槭&繧後◆讌ュ遞ョ縺ョ蛟、繧呈コ門y縺吶k string lcat_code = this.DropDownList2.SelectedValue; //讀懃エ「邨先棡縺ィ縺励※陦ィ遉コ縺吶k莉カ謨ー繧呈欠螳? int hit_per_page = 10; //邱ッ蠎ヲ邨悟コヲ縺九i縺ョ讀懃エ「遽?峇繧呈欠螳? int range = 3; //讀懃エ「邨櫁セシ縺ソ逕ィ縺ョ讀懃エ「繝ッ繝シ繝峨r謖?ョ? string freeword1 = "繝ゥ繝ウ繝?; string freeword2 = "譏シ"; //URL縺ォ驕ク謚槭@縺滓擅莉カ繧堤オ?∩霎シ繧??育スョ謠帙☆繧具シ? gvUrl = String.Format(gvUrl, AccessKey, lcat_code, hit_per_page, geo.Lat, geo.Lng, range, HttpUtility.UrlEncode(freeword1), HttpUtility.UrlEncode(freeword2));