ASP.NET CORE MVC Master Detail CRUD

แชร์
ฝัง
  • เผยแพร่เมื่อ 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 TH-cam 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...

ความคิดเห็น • 48

  • @priyadarshini6945
    @priyadarshini6945 2 ปีที่แล้ว

    One of the Best Tutorial of the TH-cam. Thanks a Ton😊😊😊.

  • @bl7937
    @bl7937 ปีที่แล้ว

    Thank you Aniz! Hope all is well, haven’t seen that you’ve posted much.

  • @raymondopriye202
    @raymondopriye202 ปีที่แล้ว

    This is very good. But the index view containing pictures is not responding to bootstrap grid for different screen sizes.

  • @AaronTurnerBlessed
    @AaronTurnerBlessed 2 ปีที่แล้ว

    I gave you thumbs up for the TAAPSEE PANNU video demo. Excellent - it made me laugh :)

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว +1

      Same feelings here. Nice to read this comment.

  • @mohammadrezamalakouti2355
    @mohammadrezamalakouti2355 ปีที่แล้ว

    Thanks a lott

  • @raymondopriye202
    @raymondopriye202 2 ปีที่แล้ว

    This is excellent. Thanks a million Sir

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว

      You are most welcome

  • @mindongokanikirex6003
    @mindongokanikirex6003 2 ปีที่แล้ว

    You are very good, you give good examples and explain correctly

  • @firozitsa
    @firozitsa ปีที่แล้ว

    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?

    • @CodeSbyAniz
      @CodeSbyAniz  ปีที่แล้ว

      try this th-cam.com/video/k5USpRrQhM8/w-d-xo.html

  • @codingislife6387
    @codingislife6387 2 ปีที่แล้ว

    Awesome Sir. Nice

  • @matthewwells4818
    @matthewwells4818 2 ปีที่แล้ว

    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.

    • @CodeSbyAniz
      @CodeSbyAniz  ปีที่แล้ว

      try this th-cam.com/video/k5USpRrQhM8/w-d-xo.html

    • @matthewwells4818
      @matthewwells4818 ปีที่แล้ว

      @@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!

    • @andrew7540
      @andrew7540 ปีที่แล้ว

      @@matthewwells4818 Could your fix, please?

  • @JahidulIslam-fl6nq
    @JahidulIslam-fl6nq 2 ปีที่แล้ว

    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.

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว

      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.

    • @JahidulIslam-fl6nq
      @JahidulIslam-fl6nq 2 ปีที่แล้ว

      @@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 ?

  • @ruveydaakcinar
    @ruveydaakcinar ปีที่แล้ว

    Could you please share the codes inside your "_ValidationScriptsPartial" file? I can't see inside that partial the video

  • @roshanban2146
    @roshanban2146 2 ปีที่แล้ว

    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

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว

      but full site.js is shown in the video.

    • @roshanban2146
      @roshanban2146 2 ปีที่แล้ว

      @@CodeSbyAniz yes I have been going through it again again but still no luck.

  • @basharawwad5451
    @basharawwad5451 2 ปีที่แล้ว

    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?

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว

      Actually I don't use any third party components in my video. could you please try with the code shown in the video.

    • @basharawwad5451
      @basharawwad5451 2 ปีที่แล้ว

      @@CodeSbyAniz Yes it works fine Thanks a lot Dear.

  • @codingislife6387
    @codingislife6387 2 ปีที่แล้ว

    Sir Is it Best to use SP ? more Secure Database

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว

      SP are good, but SP has very limited support for EF CORE. it is better to use EFCORE than SP.

  • @name_code5092
    @name_code5092 2 ปีที่แล้ว

    How to make a submit form where applicants insert they value when clicking the applied button dont know idea or what it called

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว +1

      sorry , Not clear. could you rephrase your question clearly.

    • @name_code5092
      @name_code5092 2 ปีที่แล้ว

      @@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

  • @polv.m.7527
    @polv.m.7527 2 ปีที่แล้ว

    do you have this tutorial for mac?

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว

      the same can be used for MAC

    • @polv.m.7527
      @polv.m.7527 2 ปีที่แล้ว

      @@CodeSbyAniz yes but the steps are different on mac. Thanks for you tutorials🙏

  • @JetmirDemiri-oh2ts
    @JetmirDemiri-oh2ts ปีที่แล้ว

    Please add the source code as it is very hard to write the code all by hand

  • @dinglanado3166
    @dinglanado3166 2 ปีที่แล้ว

    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.

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว

      i think you have not include the jquery.validate library. please watch this video and include all libraries include in this to your project th-cam.com/video/gBHY0Jt8ZjQ/w-d-xo.html

  • @nazihjrg3540
    @nazihjrg3540 2 ปีที่แล้ว

    could you provide the source code , please.

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว

      complete source code is shown in the video.

  • @zainmohamed3942
    @zainmohamed3942 2 ปีที่แล้ว

    source code, please

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว

      complete source code is shown in the video.

  • @dinglanado3166
    @dinglanado3166 2 ปีที่แล้ว

    My Visual studio version is 2022. Framework .Net 6.0. what i have done wrong?

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว

      watch part 1 and part 2 then you can understand easily.

  • @dinglanado3166
    @dinglanado3166 2 ปีที่แล้ว

    Create.cshtml:

    • @dinglanado3166
      @dinglanado3166 2 ปีที่แล้ว

      I found the error the $.validator.unobstrusive.parse($form); should be $.validator.unobtrusive.parse($form); sorry

    • @CodeSbyAniz
      @CodeSbyAniz  2 ปีที่แล้ว

      watch part 1 and part 2 then you can understand easily.