Esempio n. 1
0
        protected void btn_search_Click(object sender, EventArgs e)
        {
            TwoToTenServiceReference.TwoToTenServicesSoapClient client = new TwoToTenServicesSoapClient();
            var death = client.DeathCasesJanuary(txtBox.Text);

            if (death != string.Empty)
            {
                lbl_result.Text = death;
            }
            else
            {
                lbl_result.Text = "No no no";
            }
        }
Esempio n. 2
0
        protected void btn_search_Click(object sender, EventArgs e)
        {
            TwoToTenServiceReference.TwoToTenServicesSoapClient client = new TwoToTenServicesSoapClient();
            var death = client.DeathCasesJanuary(txtBox.Text);

            if (death != string.Empty)
            {
                lbl_result.Text = death;
            }
            else
            {
                lbl_result.Text = "No no no";
            }
        }