Update Student Record Part-2 Employee Management System

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 7

  • @akashrathod4981
    @akashrathod4981 5 місяців тому

    Thank you for your excellent teaching. Your clear explanations and hard work have made a big difference. I really appreciate your support.

  • @amudhapi6492
    @amudhapi6492 Рік тому

    I am not previous data in the update student getting that error in the console failed to convert value of type java.lang.string to required type int for input string :"{SId}" can u please me give the solution or please share code sir

  • @Devil_Plays99
    @Devil_Plays99 2 роки тому

    where is delete operation video??

    • @WriteCodeWithPrince
      @WriteCodeWithPrince  2 роки тому

      It's come soon. Otherwise you can implement also like update operation . it's simple

    • @Devil_Plays99
      @Devil_Plays99 2 роки тому

      @@WriteCodeWithPrince ok. Thanks for the reply

  • @252_pratikshakamble5
    @252_pratikshakamble5 Рік тому

    Hello sir please upload delete student code

    • @akashrathod4981
      @akashrathod4981 5 місяців тому

      make it button on your table -component.html
      Delete
      component.ts
      deleteBooks(bookId: number): void {
      this.bookService.deleteBookRecord(bookId).subscribe(
      () => {
      console.log(`Book with ID ${bookId} deleted successfully`);
      this.getAll(); // Refresh the list after deletion
      },
      (error) => {
      console.error('Error deleting book:', error);
      }
      );
      }
      service.ts
      deleteBookRecord(bookId: number): Observable {

      return this.http.delete(`${this.baseURL}/delete/${bookId}`);

      }