private void roomsManaging_Load(object sender, EventArgs e)
        {
            roomsConn roomsConn       = new roomsConn();
            String    selectedFaculty = rfaculty.Text.ToString();

            rrrname.DataSource = roomsConn.getNotAvailableRooms();
        }
        private void releaceBtn_Click(object sender, EventArgs e)
        {
            roomsConn roomsConn = new roomsConn();

            roomsConn.insertNotAvailableTimes(rName.Text.ToString(), rfaculty.Text.ToString(), rntime.Text.ToString());
            notAvailableGridView.DataSource = roomsConn.load_not_available_details();
            rrrname.DataSource = roomsConn.getNotAvailableRooms();
        }
        private void rrbtn_Click(object sender, EventArgs e)
        {
            roomsConn roomsConn        = new roomsConn();
            String    selectedRoomName = rrrname.Text.ToString();

            roomsConn.DeleteNotAvailableRooms(selectedRoomName);
            notAvailableGridView.DataSource = roomsConn.load_not_available_details();
            rrrname.DataSource = roomsConn.getNotAvailableRooms();
        }