private void button1_Click(object sender, EventArgs e)
        {
            int               check;
            string            n = "", roll = "", pic = "";
            ClHostelAttendant HostAtt = new ClHostelAttendant();

            check = HostAtt.GetStudentInfo(textBox1.Text, ref n, ref roll, ref pic);

            if (check == 1)
            {
                label4.Text = n;
                label6.Text = roll;
            }
            else
            {
                MessageBox.Show(this, "Student Not Found!");
            }
        }
        private void button1_Click(object sender, EventArgs e)
        {
            int check;
            string n="", roll="", pic="";
            ClHostelAttendant HostAtt = new ClHostelAttendant();

            check = HostAtt.GetStudentInfo(textBox1.Text, ref n, ref roll, ref pic);

            if (check == 1)
            {
                label4.Text = n;
                label6.Text = roll;

            }
            else
            {
                MessageBox.Show(this,"Student Not Found!");

            }
        }