Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            var accountInfo = client.BasicInformation(client.ClientIdentifier, client.ClientSecret, "812-602-4485");
            var table       = WebUIUtility.BuildFieldDescTable(
                new Tuple <string, string>[] {
                Tuple.Create("Id", accountInfo.Id),
                Tuple.Create("Name", accountInfo.Name),
                Tuple.Create("Latitude", accountInfo.Latitude.ToString()),
                Tuple.Create("Longitude", accountInfo.Longitude.ToString()),
            }
                );

            this.accountInfoHolder.Controls.Add(table);
            this.accountInfoHolder.Controls.Add(WebUIUtility.HorizontalLine());
        }