Example #1
0
        private void btnLechallDelete_Click(object sender, EventArgs e)
        {
            Lechallsc dclh = new Lechallsc();

            {
                dclh.Lechallcode = txtHcode.Text;
            };

            Service2Client service = new Service2Client();

            if (service.DeleteComLecHalls(dclh) == 1)
            {
                MessageBox.Show("Successfully Deleted");
                TableLoad();
            }
            else
            {
                MessageBox.Show("Error.. Please Try Again");
            }
        }