CRUD Operations In MVC | Using Jquery Ajax | Part-1 Retrieve Database Data & Show In A View

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • Find me: rezakarim20
    Source: www.abctutorial...
    "CRUD Operations In MVC" Using Jquery Ajax Part-1
    ======================================================
    In This Video Tutorial I Am Going To Show You,
    Basic CRUD Operations Using Jquery Ajax And Modal Popup In Asp.net MVC , Complete Full Crud Operation In 3 Part,This Is Part-1, If You Complete It,You Can Create A MVC Project,I Assure You This Is Most Valueable Tutorial For You And This Is A Best CRDU Tutorial In RUclips, So don't Miss This Tutorial
    Part -1
    CRUD Operation In MVC | Using Jquery Ajax | Part-1 Retrieve Database Data & Show In A View
    Video Link : • CRUD Operations In MVC...
    Part -2
    CRUD Operation In MVC Using Jquery Ajax | Part-2 Create A popup Modal With Registration Form And Show It For Client Side
    Video Link : • Create Popup Model Wit...
    Part -3(Last Part)
    CRUD Operations In MVC Using Jquery Ajax | Part-3 Data Save,Update & Delete In Database
    Video Link : • CRUD Operations In MVC...
    ====================================================
    I Hope This Is A Nice Tutorial For You And You Enjoy This Video , So Must Watch This Video ✪ ✪ ✪
    • CRUD Operations In MVC...
    Part -1
    Working Process :
    00:05
    Show Expected Output For Full Tutorial
    01:11
    Show Expected Output For Part-1
    01:19
    Step 1 : : Open SQL Server And Create Database Table
    05:22
    Step 2 : : Open Visual Studio & Create A New Project
    05:59
    Step 3 : : Connect Database
    07:11
    Step 4 : : Create A Model Class
    08:10
    Step 5 : : Create A Controller And Add View (Or You Can Use Defualt Controller And View Like As Video)
    → In Your View Write Simple Html Code For Client Side View
    11:28
    Step 6 : : Add Needed Reference File
    12:17
    Step 7 : : Write Jquery Code For Retrieve Database Data & Show In A View
    13:37
    Step 8 : : Add A Method In Your Controller For Passing The Database Data From Controller To View
    21:44
    Run Project
    Connect With Us:
    Facebook: / abctutorialbd
    Twitter: ab....
    GooglePlaus: plus.google.co....
    Subscribe And Watch The Video Again:
    • CRUD Operations In MVC...
    Tags:
    Datatables,asp.net mvc,crud operation,jquery datatable crud operation,implement CRUD operation in Datatables,create retrive update delete in jquery datatable,crud operations in mvc using entity framework code first,crud operations in mvc 4 using jquery ajax,jquery datatable crud example,crud operation in mvc using json

Комментарии • 106

  • @kourosh234
    @kourosh234 5 лет назад +1

    Nice page man. All the videos are useful. Good job. Bravo.

  • @theunlock3869
    @theunlock3869 5 лет назад +1

    Wow, it is a very good video.
    Please continue publishing on the new class.

  • @Mostafa-bm5et
    @Mostafa-bm5et 4 года назад

    This tutorial is really awesome to know about JSON. Thanks for this tutorial

  • @NoorASalam-ik1mt
    @NoorASalam-ik1mt 4 года назад +1

    Thank you so much ... you save me

  • @nonelelacele9300
    @nonelelacele9300 3 года назад +1

    it would be really nice if you had voice over. Your tutorials are awesome

  • @Hypnoless
    @Hypnoless 4 года назад

    eres el mejor amigo!!

    • @abctutorial
      @abctutorial  4 года назад +1

      Gracias amiga ... Keep subscribe

  • @rafysancheztilogica8587
    @rafysancheztilogica8587 4 года назад

    Excellent job !!!

    • @abctutorial
      @abctutorial  4 года назад

      Thank you very much! keep subscribe

  • @sinsin7843
    @sinsin7843 3 года назад

    thanks for sharing : )

  • @gowthamejahan6116
    @gowthamejahan6116 2 года назад

    Hi, thanks for the video. ID is not fetching to the browser while debugging it contains userID but in the browser in ID column alone it comes like undefined remaining all coming correct. Whats the problem?

  • @bzzrek
    @bzzrek 7 лет назад +1

    nice tutorial ,keep it up . im looking forward to your upcoming videos

    • @abctutorial
      @abctutorial  7 лет назад

      thank's..... your comment inspire for us....stay connect with us, We are coming within more exclusive video.........

  • @zergzerg4844
    @zergzerg4844 3 года назад

    Nice tutorial, thanks for explanation. But could you tell me one thing, if you are using ajax why your page reload every time after crud operations?I thought ajax uses asynchronous requests without reloading pages or is it just the "$.get" method works this way?

  • @Pushkar-Apte
    @Pushkar-Apte 4 года назад +1

    Hey, first of all, great work
    When I run the project I am able to retrieve the data but not able to add, edit or delete any data from the table

    • @abctutorial
      @abctutorial  4 года назад

      Connect with ur database first

  • @mertaksu6705
    @mertaksu6705 5 лет назад +1

    thank you

  • @darshaksardhara2708
    @darshaksardhara2708 3 года назад +1

    Good-Tutorials.
    But I have one question.
    How did the data from the first and second table appear in the third table?

  • @eatrejosm
    @eatrejosm 5 лет назад

    I love your desktop image... keep it up

  • @JHNBOS
    @JHNBOS 7 лет назад

    Really like your tutorials! Keep it up👍

    • @abctutorial
      @abctutorial  7 лет назад

      thnxs for your comment, stay connected with us...more exclusive tutorial coming soon!!

  • @danieladama5202
    @danieladama5202 7 лет назад +1

    thanks i like it.

    • @abctutorial
      @abctutorial  7 лет назад

      Thanks for your comment....keep us subscribe.........

  • @شمهخالد-ف6ج
    @شمهخالد-ف6ج 2 года назад

    mistake ... An exception of type 'System.NotSupportedException' occurred in EntityFramework.SqlServer.dll but was not handled in user code
    Additional information: The specified type member 'IsDeleted' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported. Please Help

  • @freedomisnotfreevn
    @freedomisnotfreevn 4 года назад +1

    15:30 Why i don't see the StudentList in your code before, could you explain that?

    • @abctutorial
      @abctutorial  4 года назад

      Please download the project then it will be very easy for you.

  • @limchloe8851
    @limchloe8851 6 лет назад +1

    I have followed your video step by step. However, I can't retrieve the database data and shown it in the table and only "Loading..." is showing. The data is assigned to the list in the function GetStudentList in the controller but I just can display it in the table.

    • @abctutorial
      @abctutorial  6 лет назад

      Please let check your code properly ............. or Download our project and Run on your machine..........

  • @archanabariya3268
    @archanabariya3268 4 года назад

    I can't retrieve data ....I was showing only loading.......can't get problem...

  • @mukungidavid5965
    @mukungidavid5965 6 лет назад +2

    when a run the project am getting the data in JSON format, and not in the table created in index page

    • @abctutorial
      @abctutorial  6 лет назад

      Thxs for your comment ..........Please follow video exactly or download our project ........ Its working our end properly ...........

  • @marselinalatumaerissa1523
    @marselinalatumaerissa1523 5 лет назад +1

    Hallo sir... I got error "'DeleteStudentRecord' is undefined" when click delete button... please help me sir,, thankyou

    • @abctutorial
      @abctutorial  5 лет назад

      Check your id passing into the method

    • @marselinalatumaerissa1523
      @marselinalatumaerissa1523 5 лет назад +1

      Hi @@abctutorial i am using all method like yours and no different but still get this error.. can you give other solution please

    • @abctutorial
      @abctutorial  5 лет назад

      @@marselinalatumaerissa1523 Please use my project.You can download my project from my video description

  • @francoredaelli7167
    @francoredaelli7167 6 лет назад +1

    Great ! It works quite well for me but when I try to retrieve a Date data type, in the table colum I get "/Date(1497909600000)/". How could I do the right conversion ? Thanks

    • @abctutorial
      @abctutorial  6 лет назад +1

      This is datetime data.Please convert this by MOMENT js or any other plugin ......if moment then use "moment(data.AssignedDate).format("DD MMM YY")"

    • @francoredaelli7167
      @francoredaelli7167 6 лет назад +1

      I did it with this simple function, it worked like a charm for me ! :-)function formatJSONDate(jDate) { if (!jDate) { return "n/a"; } else { var newDate = (new Date(parseInt(jDate.substr(6)))).toLocaleDateString(); return newDate; }

    • @abctutorial
      @abctutorial  6 лет назад

      ohh ...... very nice....... Keep us subscribe ........ We are coming with more exciting videos

    • @amarirahlam2170
      @amarirahlam2170 5 лет назад

      @@francoredaelli7167 hiii i need your help please could you tell where should i put this code cuz i have the same prb and i couldn't find a solution yet thank youu

  • @koushikmozumdar8477
    @koushikmozumdar8477 6 лет назад

    sir my .modal() is not showing please tell me which extensions are needed without this i am unable to open modal

    • @abctutorial
      @abctutorial  6 лет назад

      U can use bootstrap modal ..... Please keep us subscribe .... We are creating more existing videos

  • @anamfariya3502
    @anamfariya3502 6 лет назад +1

    i am getting data in database but its not being shown on view screen ..screen is just displaying status Loading...

    • @abctutorial
      @abctutorial  6 лет назад

      Please check your controller>method is data fetch or not?? you can describe problem you are facing ...... thnxs for the comment ....... Keep us subscribe ..........

  • @Prince-lj7os
    @Prince-lj7os 7 лет назад

    while runing there is an error
    List svm = mvc.Student_Data.Where(x =>x.IsDeleted == false)
    .Select(x =>new StudentViewModel{
    Student_ID = x.Student_ID,
    First_Name = x.First_Name,
    Last_Name = x.Last_Name,
    Father_Name=x.Father_Name,
    Email = x.Email,
    Address = x.Address,
    Telephone = x.Telephone,
    Department_Name = x.Department_table.Department_Name
    }).ToList();

    • @abctutorial
      @abctutorial  7 лет назад

      What kind of errors are showing?

  • @codewizard5327
    @codewizard5327 7 лет назад +2

    Why no voice? Freaked me out! This could be one of the best Tutorial.

    • @abctutorial
      @abctutorial  7 лет назад

      Thnxs ........ keep us subscribe .........

  • @muratsenel6453
    @muratsenel6453 4 года назад

    hello my friend, i want to save all data to database via one click button. How can I do it

  • @sulemanali4006
    @sulemanali4006 5 лет назад +1

    insertion of new record how does that work their is no insertion??

  • @franklyn4426
    @franklyn4426 6 лет назад +1

    How can I implement STORING'S PROCEDURES a DB in a MVC project?

    • @abctutorial
      @abctutorial  6 лет назад +1

      We have a video on Store procedure so please watch this

  • @esaugalvan4990
    @esaugalvan4990 6 лет назад

    First of all thanks for the tutorial
    Second: Have a question: when I run the project I got an error: "MVCTutorialEntities does not contain a definition for tblStudents and not extension method tblStudents accepting a first argument of type MVCTutorialEntities could not be found (are you missing a using directive or an assembly reference?)" What could this be?

    • @abctutorial
      @abctutorial  6 лет назад +1

      My be you do not create any database table... At first create database table then this database connect with your project.. if you do not know how to create database please watch our crud video part-1 ,first 5min

  • @krishnaparab9747
    @krishnaparab9747 6 лет назад +1

    hi sir can you provide mvc with bootstrap table binding searching ,sorting custom table bind video

    • @abctutorial
      @abctutorial  6 лет назад +1

      Yes i can ......... keep us subscribe ......

  • @bashiirimohamoud3261
    @bashiirimohamoud3261 7 лет назад +1

    Hi i watch first video when i complete data will not loading the page only i see loading what will be the solution thanks

    • @abctutorial
      @abctutorial  7 лет назад

      may be you can not write "DataBind" function properly... so check your code inside "DataBind" function.... I hope You find your bug.....

    • @bashiirimohamoud3261
      @bashiirimohamoud3261 7 лет назад

      i did not see any error i write DataBind but i don't know why actually does't work did u have another way

    • @abctutorial
      @abctutorial  7 лет назад

      ok... You Can send your project with database in this email "abctutorial.com@gmail.com"... i find your bug ...

  • @bzzrek
    @bzzrek 7 лет назад +1

    i have error in this line " $.get("/Home/GetStudentList", null, DataBind);;" saying 'Uncaught ReferenceError: DataBind is not defined' can u help me?

    • @abctutorial
      @abctutorial  7 лет назад +1

      Bro... I think You create a simple mistake that means you write "$.get("/Home/GetStudentList", null, DataBind);" properly but may be you can not write next line properly -->"function DataBind(StudentList)". maybe you mistake write function name...

    • @bzzrek
      @bzzrek 7 лет назад +1

      i got it thanks bro

    • @abctutorial
      @abctutorial  7 лет назад +1

      welcome ..... keep subscribe ......more exciting video are coming .......

  • @eiqo3034
    @eiqo3034 7 лет назад

    Download your project but when executing it I will throw this error An exception of type 'System.Data.Entity.Core.MetadataException' occurred in EntityFramework.dll but it was not controlled in the user code help please

    • @abctutorial
      @abctutorial  7 лет назад

      You can not properly create your database or connect your database with the project correctly.

    • @eiqo3034
      @eiqo3034 7 лет назад

      How do I connect it and it always helps please

    • @eiqo3034
      @eiqo3034 7 лет назад

      the error
      I get it in this line of code List DeptList = db.tblDepartments.ToList ();

    • @abctutorial
      @abctutorial  7 лет назад

      How you connect your database ? i mean using ADO.NET Entity Data or Linq to sql or Storeprocedure? ....... if you still facing problem then you can send us your project with DB we will try to solve.........

    • @eiqo3034
      @eiqo3034 7 лет назад

      I connect it as well as in the tutorial

  • @riteshkumargupta1410
    @riteshkumargupta1410 7 лет назад

    i am facing error for create that project and that error is........
    Server Error in '/' Application.
    Parser Error
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
    Parser Error Message: Could not load type 'FullCrudImplimentationWithJqueryAjax.MvcApplication'.
    Source Error:
    Line 1:
    Source File: /global.asax Line: 1
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1055.0
    Please help me...

  • @fahimgalaxy
    @fahimgalaxy 7 лет назад +3

    Sir, i am not getting data in my table and getting no errors :(

    • @abctutorial
      @abctutorial  7 лет назад

      Please make sure that you follow my videos completely or check name spelling

    • @yairparedes6020
      @yairparedes6020 6 лет назад +1

      there is a bug if you left null, the IsDeleted colunm in the record there will not display the records because the condition is ==False, modify your records and there it is your data

    • @abctutorial
      @abctutorial  6 лет назад +1

      Maybe you can not understand the problem properly, there is no mistake in this program, it is working well on my computer and more than 10,000 people used it without any problems. So please check Your program properly, this is your bug... not my.. thank you for your comment

    • @yairparedes6020
      @yairparedes6020 6 лет назад

      ok i just want to help, because something like that i faced, I don't want to disrespect all the opposite thank you

    • @abctutorial
      @abctutorial  6 лет назад

      I am apologize if i heart you.Please keep us subscribe .......... Comment us if you need any video ... we are making requested video

  • @АнтонАржаник
    @АнтонАржаник 7 лет назад

    Hello. Please. If it's not difficult to give a link to the project with the source code. Thank you.

    • @abctutorial
      @abctutorial  7 лет назад

      please give your email.we will send the hole project with DB.

    • @АнтонАржаник
      @АнтонАржаник 7 лет назад

      aarzhanik@gmail.com

    • @abctutorial
      @abctutorial  7 лет назад

      Source Code Link : www.abctutorial.com/Post/30/crud-operation-in-mvc-%7C-using-jquery-ajax-%7C-part-1-retrieve-database-data--show-in-a-view

  • @tomyang7788
    @tomyang7788 7 лет назад

    where does the viewmodel StudentViewModel come from ?

    • @abctutorial
      @abctutorial  7 лет назад

      Step 4 of This Video, I am create "StudentViewModel" class

  • @adeelahmed1134
    @adeelahmed1134 6 лет назад +1

    throw new NotImplementedException();
    tblDepartment file me error a rha hai

    • @abctutorial
      @abctutorial  6 лет назад

      Please tell your error briefly

  • @danielsanchez7393
    @danielsanchez7393 7 лет назад

    The part two video dont work =(

    • @abctutorial
      @abctutorial  7 лет назад

      i think you miss take write js code, otherwise must be it work

  • @anilawati2565
    @anilawati2565 5 лет назад +1

    I need code.

    • @abctutorial
      @abctutorial  5 лет назад

      See video description ..Thanks ... Keep subscribe

  • @methounahmed3266
    @methounahmed3266 7 лет назад

    ভাই,শুধু StudentID দেখাচ্ছে।হেল্প প্লিজ

    • @abctutorial
      @abctutorial  7 лет назад

      i think you miss take write 'js' code... So check it properly

  • @forttrek5352
    @forttrek5352 4 года назад +1

    Incomplete video

  • @didinfachrudin2968
    @didinfachrudin2968 7 лет назад

    Hello. Please. If it's not difficult to give a link to the project with the source code. Thank you.

    • @abctutorial
      @abctutorial  7 лет назад

      Full Project Download Link : drive.google.com/open?id=0B-Y5NNpgn96SNFNGeTBHN3ZmOEk