Display Data from a Database in ASP.NET CORE (MVC) and C# | EF Code First | Visual Studio 2022

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 64

  • @mehedihasan-kf4uy
    @mehedihasan-kf4uy 7 місяців тому +2

    Great explanation, thank you.

  • @manasabangre
    @manasabangre 9 місяців тому +2

    It worked for me !! Thanks a lot for such detailed video Sir. You have no idea what an help this tutorial has done. Your calm voice can be heard from morning till night. Teacher with great voice and simplicity in teaching has made this tutorial the best. I will watch each and every single video of yours and will gain best wisdom! thanks once again for your valuable time and effort. It means a lot for learners like us.

    • @CodeWithGopi
      @CodeWithGopi  9 місяців тому

      Thanks for your valuable feedback and support

    • @CodeWithGopi
      @CodeWithGopi  7 місяців тому

      Thank you for your feedback and support! If you're able, please consider supporting my channel by becoming a member or using Super Thanks.

    • @FromRootsToRadicals_INTP
      @FromRootsToRadicals_INTP Місяць тому

      @@manasabangre dapper is also good to look into depending but yea ef is also nice. Been doing code since i was 10 in 1995, when ef can out loved it. Had not used in a long time so recently setting up a side project in it and there is a lack of updated processes.

  • @stephenzerfas5307
    @stephenzerfas5307 Рік тому +2

    I think Microsoft needs to hire you, I could not find this tutorial on their site. :-) Thank you.

    • @CodeWithGopi
      @CodeWithGopi  Рік тому +1

      Thanks a lot for your valuable feedback and support

    • @CodeWithGopi
      @CodeWithGopi  7 місяців тому

      Thank you for your feedback and support! If you're able, please consider supporting my channel by becoming a member or using Super Thanks.

  • @eclairron
    @eclairron 7 місяців тому +1

    That was excellent! Easy to follow and very informative. It is helping me so much on my project, and I am looking forward to the rest of the videos on this as well. Thank you so much!

    • @CodeWithGopi
      @CodeWithGopi  7 місяців тому

      Thank you for your feedback and support! If you're able, please consider supporting my channel by becoming a member or using Super Thanks.

  • @emeryswanson8386
    @emeryswanson8386 8 місяців тому +1

    Excellent training! Thank you! Well done.

    • @CodeWithGopi
      @CodeWithGopi  8 місяців тому

      Thanks for your valuable feedback and support

    • @CodeWithGopi
      @CodeWithGopi  7 місяців тому

      Thank you for your feedback and support! If you're able, please consider supporting my channel by becoming a member or using Super Thanks.

  • @semperfo
    @semperfo Рік тому +2

    I really like your tutorial; very easy to understand and follow.

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

      Thank you for your valuable feedback and support 👍

  • @atakanozdemir3066
    @atakanozdemir3066 Рік тому +2

    You are perfect, thank you. Your instructions are very clear and informative, this video helped me a great deal on my project.

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

      Thanks a lot for your valuable feedback and support

  • @grant4458
    @grant4458 9 місяців тому +1

    Great explanation. Nice and simple, thank you.

    • @CodeWithGopi
      @CodeWithGopi  9 місяців тому +1

      Thanks for your valuable feedback and support

    • @CodeWithGopi
      @CodeWithGopi  7 місяців тому

      Thank you for your feedback and support! If you're able, please consider supporting my channel by becoming a member or using Super Thanks.

  • @carnagelan
    @carnagelan 2 місяці тому

    Wow Thasnk man, Is there a way to display 15 lines in the table with a next button or arrow to display 16-30 and then an arrow for another 31 - 45 lines

  • @jugnuraj5802
    @jugnuraj5802 10 місяців тому +1

    Awesome explaination

    • @CodeWithGopi
      @CodeWithGopi  10 місяців тому

      Thanks for your valuable feedback and support

    • @CodeWithGopi
      @CodeWithGopi  7 місяців тому

      Thank you for your feedback and support! If you're able, please consider supporting my channel by becoming a member or using Super Thanks.

  • @鄭海寅-s8d
    @鄭海寅-s8d 2 роки тому +2

    I have learned a lot from your wonderful lectures. Thank you very much.
    I am also looking forward to the course on implementing CURD using jQuery, DataTables with this project.
    Thank you for your continued support.

    • @CodeWithGopi
      @CodeWithGopi  2 роки тому +1

      Thank you so much for your valuable feedback and support. Will upload videos on JQuery and datatable

  • @MomLifeJournal
    @MomLifeJournal 2 місяці тому

    Thank you so much .. Great tutorial

    • @CodeWithGopi
      @CodeWithGopi  2 місяці тому

      Thank you for your feedback and support! If you're able, please consider supporting my channel by becoming a member or using Super Thanks.

  • @MikeHaq
    @MikeHaq Рік тому +1

    Thank you. Nicely explained.

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

      Thanks for your valuable feedback and support.

  • @legacy3692
    @legacy3692 8 місяців тому

    Could you please provide a video on how to implement page counter in mvc . Not pagination or number of visitor . I want to know how to calculate page counting in mvc .

  • @Ravi-gu5ww
    @Ravi-gu5ww 11 місяців тому +1

    @codewithGopi , I followed your tutorial and here im getting data as UNdefined for some columns. the datatypes are same in sqldatabase and in public class. how can i mitigate this issue! Pls help me on this.

  • @manasabangre
    @manasabangre 9 місяців тому +1

    Hi.. I am still getting the same error which you got after adding code in EmployeeController in Index method.
    An unhandled exception occurred while processing the request.
    InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'System.Collections.Generic.List`1[TechKeeda.Models.DbEntities.Student]', but this ViewDataDictionary instance requires a model item of type 'System.Collections.Generic.List`1[TechKeeda.Models.StudentViewModel]'. Please help.

  • @JessintaFernandes
    @JessintaFernandes 5 місяців тому +1

    Thank you very much Sir

  • @marcosfaria318
    @marcosfaria318 2 місяці тому +1

    Muito Obrigado!!!!!!!

  • @dawidolino9398
    @dawidolino9398 Рік тому +2

    Hi, Im getting an error that multiple constructors cant be passed ( InvalidOperationException: Multiple constructors accepting all given argument types have been found in type 'System.Collections.Generic.List`1[Model.ContactsViewModel]'. There should only be one applicable constructor.) idk whats wrong since I was following your guide literally 1:1 except I have contacts instead of employees

    • @gua5432
      @gua5432 9 місяців тому

      The error is pretty self-explanatory. You have one or more constructors in your Contacts view model that takes the same arguments as another one. View models don't need any constructors unless you're doing your collection declaring in there (List, HashSet, etc.), and even then it's not necessary because you can declare what a collection property is while creating it. Example - public ICollection Numbers = new List().

  • @mabeleain3320
    @mabeleain3320 4 місяці тому

    Pkg manager console not working in VS 2022 Mac version. How can I add migration?

  • @NaeemaAhmed-wm7fr
    @NaeemaAhmed-wm7fr Рік тому

    I am using My SQL (Xamp) for Database and downloaded the required packages as well but My Project is unable to load on the server side. It is not showing me the fields name .I followed the steps you've told except using SqlServer .Kindly tell me where am making mistake .TIA.

  • @muhammedalidonmez6204
    @muhammedalidonmez6204 Рік тому +1

    good
    👍

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

      Thanks for your valuable feedback and support 👍

  • @jurasekcinema5467
    @jurasekcinema5467 Рік тому +1

    Perfect , thanks :-)

  • @manimegalaiap-it4779
    @manimegalaiap-it4779 Рік тому +1

    I have tried this project..but i didnt get the output...only the "No Employees Available" displayed.... no data from database haven't displayed...

  • @AlenMagar
    @AlenMagar 8 місяців тому +1

    Hi there when adding update-database in the Package Manager Console it says: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 56 - Unable to load the SQLUserInstance.dll from the location specified in the registry. Verify that the Local Database Runtime feature of SQL Server Express is properly installed.) how do i fix this

    • @CodeWithGopi
      @CodeWithGopi  8 місяців тому

      Hi, please check your connection string

  • @MohammadKomaei
    @MohammadKomaei 2 роки тому +1

    Please get the github project link.

  • @turkyt
    @turkyt 6 місяців тому +2

    ❤️❤️❤️❤️🇵🇰🇵🇰 love your content 😍

    • @CodeWithGopi
      @CodeWithGopi  6 місяців тому

      Thank you for your feedback and support! If you're able, please consider supporting my channel by becoming a member or using Super Thanks.

  • @sanchitkulkarni9550
    @sanchitkulkarni9550 Рік тому +1

    Getting error connection string property has not been initialized

    • @sanchitkulkarni9550
      @sanchitkulkarni9550 Рік тому +1

      Can u give me solution for that ?

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

      Can you check your connectionstring name

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

      In appsettings.json and program.cs

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

      @@CodeWithGopi yes checked it is same

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

      There is a issue in your connectionstring share appsettings.json and program.cs on my email. Will check and update.

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

    didnt work for me.