ASP.NET CORE MVC Master Detail CRUD
HTML-код
- Опубликовано: 10 сен 2024
- From this video tutorial you will learn how to make a Master Detail CRUD Application using ASP.NET Core MVC with EF Core, Advance JavaScript, JQuery and CSS.
In Here , I have used advanced features of Entity framework core and JavaScript.
This Application is done in ASP.net core 5 using MVC Pattern.
The main objective of this application is to save the master
and detail records together in a easiest and best way.
This Application has one Master and two detail grids,
this is the first time in RUclips a tutorial has come to
save two detail grids at the same time.
and the important point here is both the detail grids
are equipped with the jquery client side validations.
normally, adding validations to the detail grids
are not easy. and i have solved those challenges here in a brilliant way.
If you watch this full video, I can guarantee that in the future making any type of master detail screens like sales-invoice, purchase-order, indent entry form etc. will not be a problem at all.
Please watch and put your comments.
Thanks.
Aniz
Master detail CRUD Part 1
• Master detail CRUD in ...
Master detail CRUD Part 2
• Master Detail Crud usi...
Master Detail CRUD Part 3
• Master Detail entry fo...
One of the Best Tutorial of the RUclips. Thanks a Ton😊😊😊.
Thank you Aniz! Hope all is well, haven’t seen that you’ve posted much.
This is excellent. Thanks a million Sir
You are most welcome
I gave you thumbs up for the TAAPSEE PANNU video demo. Excellent - it made me laugh :)
Same feelings here. Nice to read this comment.
You are very good, you give good examples and explain correctly
Thanks and welcome
Thanks a lott
Could you please share the codes inside your "_ValidationScriptsPartial" file? I can't see inside that partial the video
This is very good. But the index view containing pictures is not responding to bootstrap grid for different screen sizes.
Awesome Sir. Nice
Thanks.
Very Useful Tutorial, I followed it second by second. I have doubt that in Edit view adding the new Row copies the last row with value. but in previous video you have used to clear all the INPUTS, but that clears all the rows in both grids with this video. any short solution?
try this ruclips.net/video/k5USpRrQhM8/видео.html
How to make a submit form where applicants insert they value when clicking the applied button dont know idea or what it called
sorry , Not clear. could you rephrase your question clearly.
@@CodeSbyAniz insert the value of one table to another table it is like when user wants to apply a job by clicking the apply button the user information will show in the admin list. I want to know how because I am currently making an Online Job portal project and I cant find any tutorial in asp.net core 6 mvc
I noticed that if you delete an empty record, the is deleted is kept as true but if you have validation for the input fields you will be an error in the database because the ModelState won't be valid. You could add dummy data to the record being deleted in the delete function to solve this issue. Also isDeleted wasn't being set to false in my version and I added it into the AddBtn function to fix it.
try this ruclips.net/video/k5USpRrQhM8/видео.html
@@CodeSbyAniz I actually played around with the JavaScript and created a good workaround for this, I use dropdowns in my records and created a seperate for loop to populate the input and select fields with dummy data if isDeleted is true, definitely learnt something from your videos though, thanks very much!
@@matthewwells4818 Could your fix, please?
Sir, you are incredibly intelligent. I tried to copy all the codes but when I added 3rd table it has some errors. At the eleven hour I have some problems. Please do help me.
could you give me detailed error information. or otherwise wait for few days. I am releasing a video on advance master detail grid with source code. may be that will solve many issues. so please wait for few days. Thanks for watching.
@@CodeSbyAniz Sir, after entering all values when I click create button it failed to calculate total experiences, for this it is not saved. I failed to solve it. Pardon me, would you please give me your email address or fb so that I can share my problems in details ?
Hello Aniz, I appreciate your job it is really helpful.
I tried to use a ready function from nuget to add text element in each select element in the detail section, It works for the first row but when I add a new row it will not work. I need to add the textbox to filter the data in the dropdown list.
Any idea?
Actually I don't use any third party components in my video. could you please try with the code shown in the video.
@@CodeSbyAniz Yes it works fine Thanks a lot Dear.
Sir Is it Best to use SP ? more Secure Database
SP are good, but SP has very limited support for EF CORE. it is better to use EFCORE than SP.
Additional info for my previous comment
packages installed are;
microsoft.entityframeworkcore\6.0.6\
microsoft.entityframeworkcore.sqlserver\6.0.6\
microsoft.entityframeworkcore.tools\6.0.6\
microsoft.visualstudio.web.codegeneration.design\6.0.6\
Pls give me feed back for any hints to solve the .parse($form) error on master details video.
i think you have not include the jquery.validate library. please watch this video and include all libraries include in this to your project ruclips.net/video/gBHY0Jt8ZjQ/видео.html
Aniz ji it's great video to learn. After moving the JavaScript to script.js file then Delete button is not functioning correctly, could you pls share the site.js file
but full site.js is shown in the video.
@@CodeSbyAniz yes I have been going through it again again but still no luck.
Please add the source code as it is very hard to write the code all by hand
My Visual studio version is 2022. Framework .Net 6.0. what i have done wrong?
watch part 1 and part 2 then you can understand easily.
do you have this tutorial for mac?
the same can be used for MAC
@@CodeSbyAniz yes but the steps are different on mac. Thanks for you tutorials🙏
could you provide the source code , please.
complete source code is shown in the video.
source code, please
complete source code is shown in the video.
Create.cshtml:
I found the error the $.validator.unobstrusive.parse($form); should be $.validator.unobtrusive.parse($form); sorry
watch part 1 and part 2 then you can understand easily.