XML
Yahooさんのローカルサーチは電話帳データ等から施設情報を抽出できる、かなり便利なAPIなのですが、ASP.NETから呼び出す例としてはあまり参考になるサイトがなかったので、ここに書いてしまいます。 仕様 電話帳データより「コンビニ」情報を取得し、GridVi…
C#でNameSpaceの指定されたXMLの読み込み方法。 楽天トラベルのAPIを使って例示してみよう。 XML(一部省略) true true true 省略 Success 1 1 1 1 1 99999 サンプルホテル 省略 省略 readxml.aspx.cs protected void Page_Load(object sender, EventA…
order.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="order.aspx.cs" Inherits="order" %> <html> <head id="Head1" runat="server"> <title>Order</title> </head> <body> …</body></html>
repeater.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="publishers01.aspx.cs" Inherits="api_other_publishers" %> <html xmlns="http://www.w3.org/1999/xhtml"> </html>