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(); }