コード例 #1
0
ファイル: WebForm1.aspx.cs プロジェクト: timmie91/assignment3
 protected void Button2_Click(object sender, EventArgs e)
 {
     if (!(TextBox2.Text.Equals(" ")))
     {
         TextBox3.Text = "";
         ServiceReference2.Service1Client proxy2 = new ServiceReference2.Service1Client();
         string[] output = proxy2.topTen(TextBox2.Text);
         foreach (string word in output)
         {
             TextBox3.Text += word + " ";
         }
         TextBox2.Text = "";
     }
 }