Exemplo n.º 1
0
 protected void btn_ShowMembers_Click(object sender, EventArgs e)
 {
     string[] members;
     members = accountService.ListMembers();
     if (members.Length == 0)
     {
         lbl_Members.Text = "No Members!";
     }
     else
     {
         foreach (string mem in members)
         {//Add every member as a html paragraph.
             lbl_Members.Text += "<p>" + mem + "</p>";
         }
     }
 }