Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
Thank you for your excellent teaching. Your clear explanations and hard work have made a big difference. I really appreciate your support.
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
where is delete operation video??
It's come soon. Otherwise you can implement also like update operation . it's simple
@@WriteCodeWithPrince ok. Thanks for the reply
Hello sir please upload delete student code
make it button on your table -component.html Deletecomponent.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}`); }
Thank you for your excellent teaching. Your clear explanations and hard work have made a big difference. I really appreciate your support.
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
where is delete operation video??
It's come soon. Otherwise you can implement also like update operation . it's simple
@@WriteCodeWithPrince ok. Thanks for the reply
Hello sir please upload delete student code
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}`);
}