protected void getStudentAuthentication_Click(object sender, EventArgs e)
        {
            string nullErrorMsg = "Please Enter in a Student Id to search for a Student.";

            if (txtStudentId.Text != null)
            {
                try
                {
                    StudentService.StudentServiceSoapClient client = new StudentService.StudentServiceSoapClient();
                    int             studentID       = Convert.ToInt32(txtStudentId.Text);
                    string          studentLastName = txtLastName.Text.ToString();
                    ResponseMessage responseMessage = (ResponseMessage)client.GetStudentAuthentication(studentID, studentLastName);
                    lblResponse.Text  = responseMessage.response.ToString();
                    lblMessageId.Text = responseMessage.messageId.ToString();
                }
                catch (Exception ex)
                {
                    throw new Exception(ex.Message);
                }
            }
            else
            {
                lblErrorMsg.Text    = nullErrorMsg;
                lblErrorMsg.Visible = true;
            }
        }
        protected void getStudent_Click(object sender, EventArgs e)
        {
            string nullErrorMsg = "Please Enter in a Student Id to search for a Student.";

            if (txtStudentId.Text != null)
            {
                try
                {
                    StudentService.StudentServiceSoapClient client = new StudentService.StudentServiceSoapClient();
                    int     studentID = Convert.ToInt32(txtStudentId.Text);
                    Student student   = (Student)client.GetStudentById(studentID);

                    txtFirstName.Text = student.firstname;
                    txtLastName.Text  = student.lastname;
                    txtAge.Text       = student.Age.ToString();
                    txtGender.Text    = student.Gender;
                }
                catch (Exception ex)
                {
                    throw new Exception(ex.Message);
                }
            }
            else
            {
                lblErrorMsg.Text    = nullErrorMsg;
                lblErrorMsg.Visible = true;
            }
        }