(#61) Get and save dropdown data in database | Asp.Net Core tutorial

preview_player
Показать описание
To get the dropdown data from database we will add a new table, will map it to the main table, and finally using entity framework core we will get the data.

#DynamicDropdown #DropdownWithDatabase #Nitish
Join this channel to get access to perks:

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Follow us on
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Popular free courses from WebGentle
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Рекомендации по теме
Комментарии
Автор

Super, Just finished all the videos and you are amazing!..Simple, detailed, short explanation. Thanks alot.
Egarly waiting for next videos!

vaishalinarayan
Автор

ThankYou Sir For this Playlist It help me alot for my study and project

priyanshpatel
Автор

Thank you very much sir, this video really helpful for me .

deepro__
Автор

Hello! So in the previous video, you removed multi-select to use enums and you've carried on using single-select. In the video that you covered multi-select, you didn't cover how to send that new data to the database- the database was still receiving the singular string value. Would you be happy to cover that?

HexArtificer
Автор

Hi Nitish, your videos are very helpful and informative. can you please upload video on Bind DropDownList and DropDownList based on another DropDownList selected value in ASP.NET CORE 3.1

deonandanoraon
Автор

Hello, please help me. There was such an error :
An unhandled exception occurred while processing the request.
NullReferenceException: Object reference not set to an instance of an object.
isSuccess, int bookId) in BookController.cs, line 46
NullReferenceException: Object reference not set to an instance of an object.
isSuccess, int bookId) in BookController.cs
+
ViewBag.Language = new SelectList(await _languageRepository.GetLanguages(), "Id", "Name");
lambda_method(Closure, object )

ayan.kemel
Автор

Great job for the good work. After watching and implement this lesson i continue to get this error when adding new book
SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint The conflict occurred in database "BookStore", table "dbo.Language", column 'LanguageId'. The statement has been terminated.

studytoexcel
Автор

Is it fine to Change Model Randomly also instead of using multiple model for different Operation Can we use ViewModel. Its very informative but implementation is bit Complicated.

SaurabhKumar-omgz
Автор

HI Nitish sir you video very information and useful but sir I have one question
edit mode cascading dropdownlist in asp.net core mvc
exam dropdown1 value 1 and dropdown2 how can be set from database

Narendra
Автор

Please cover Dropdown using ViewModel instead of using ViewData or ViewBag also.

Brombrom
Автор

Master Nitish are you going to add globalization to this app? that would be awesome.

pourianayeb
Автор

Hi Nitish, your videos are very helpful and informative. can you please upload video on Azure SSO ( single sign on). and how to configure SSO from visual studio?

Mahesh-oxsn
Автор

i Have followed every step and getting below error plz reproduce and guide why i am getting this

NullReferenceException: Object reference not set to an instance of an object.

ammadkhan
Автор

repository concept is a such hard thing to learn

putinninovacuna
Автор

It shows BookStore.models.BookLanguage in all the drop drown items instead of languages . why ?

keshavkoirala
Автор

Why 14:57 Id = 0 without error while my code returns view

tungthanh
Автор

'Object reference not set to an instance of an object.'

returned null when getaallbooks


in getallbook methos I had too add this line to fix it

book.language =await _db.langtable.Where(x => x.id ==

dabanabdulla
Автор

This method is too tough kindly use it as to make it easy,

syedmuhammadali
Автор

useless, Greate concepts but 0 following potential

samuelseverua