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
Nice page man. All the videos are useful. Good job. Bravo.
Thxs keep subscribe
Wow, it is a very good video.
Please continue publishing on the new class.
Thanks for your comment
This tutorial is really awesome to know about JSON. Thanks for this tutorial
You're very welcome!
Thank you so much ... you save me
Glad to hear that
it would be really nice if you had voice over. Your tutorials are awesome
Ok next time
eres el mejor amigo!!
Gracias amiga ... Keep subscribe
Excellent job !!!
Thank you very much! keep subscribe
thanks for sharing : )
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?
nice tutorial ,keep it up . im looking forward to your upcoming videos
thank's..... your comment inspire for us....stay connect with us, We are coming within more exclusive video.........
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?
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
Connect with ur database first
thank you
welcome
Good-Tutorials.
But I have one question.
How did the data from the first and second table appear in the third table?
Can u please tell detailed?
I love your desktop image... keep it up
Welcome ... Keep subscribe
Really like your tutorials! Keep it up👍
thnxs for your comment, stay connected with us...more exclusive tutorial coming soon!!
thanks i like it.
Thanks for your comment....keep us subscribe.........
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
15:30 Why i don't see the StudentList in your code before, could you explain that?
Please download the project then it will be very easy for you.
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.
Please let check your code properly ............. or Download our project and Run on your machine..........
I can't retrieve data ....I was showing only loading.......can't get problem...
when a run the project am getting the data in JSON format, and not in the table created in index page
Thxs for your comment ..........Please follow video exactly or download our project ........ Its working our end properly ...........
Hallo sir... I got error "'DeleteStudentRecord' is undefined" when click delete button... please help me sir,, thankyou
Check your id passing into the method
Hi @@abctutorial i am using all method like yours and no different but still get this error.. can you give other solution please
@@marselinalatumaerissa1523 Please use my project.You can download my project from my video description
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
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")"
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; }
ohh ...... very nice....... Keep us subscribe ........ We are coming with more exciting videos
@@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
sir my .modal() is not showing please tell me which extensions are needed without this i am unable to open modal
U can use bootstrap modal ..... Please keep us subscribe .... We are creating more existing videos
i am getting data in database but its not being shown on view screen ..screen is just displaying status Loading...
Please check your controller>method is data fetch or not?? you can describe problem you are facing ...... thnxs for the comment ....... Keep us subscribe ..........
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();
What kind of errors are showing?
Why no voice? Freaked me out! This could be one of the best Tutorial.
Thnxs ........ keep us subscribe .........
hello my friend, i want to save all data to database via one click button. How can I do it
insertion of new record how does that work their is no insertion??
Please see video of all part
How can I implement STORING'S PROCEDURES a DB in a MVC project?
We have a video on Store procedure so please watch this
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?
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
hi sir can you provide mvc with bootstrap table binding searching ,sorting custom table bind video
Yes i can ......... keep us subscribe ......
Hi i watch first video when i complete data will not loading the page only i see loading what will be the solution thanks
may be you can not write "DataBind" function properly... so check your code inside "DataBind" function.... I hope You find your bug.....
i did not see any error i write DataBind but i don't know why actually does't work did u have another way
ok... You Can send your project with database in this email "abctutorial.com@gmail.com"... i find your bug ...
i have error in this line " $.get("/Home/GetStudentList", null, DataBind);;" saying 'Uncaught ReferenceError: DataBind is not defined' can u help me?
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...
i got it thanks bro
welcome ..... keep subscribe ......more exciting video are coming .......
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
You can not properly create your database or connect your database with the project correctly.
How do I connect it and it always helps please
the error
I get it in this line of code List DeptList = db.tblDepartments.ToList ();
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.........
I connect it as well as in the tutorial
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...
Sir, i am not getting data in my table and getting no errors :(
Please make sure that you follow my videos completely or check name spelling
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
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
ok i just want to help, because something like that i faced, I don't want to disrespect all the opposite thank you
I am apologize if i heart you.Please keep us subscribe .......... Comment us if you need any video ... we are making requested video
Hello. Please. If it's not difficult to give a link to the project with the source code. Thank you.
please give your email.we will send the hole project with DB.
aarzhanik@gmail.com
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
where does the viewmodel StudentViewModel come from ?
Step 4 of This Video, I am create "StudentViewModel" class
throw new NotImplementedException();
tblDepartment file me error a rha hai
Please tell your error briefly
The part two video dont work =(
i think you miss take write js code, otherwise must be it work
I need code.
See video description ..Thanks ... Keep subscribe
ভাই,শুধু StudentID দেখাচ্ছে।হেল্প প্লিজ
i think you miss take write 'js' code... So check it properly
Incomplete video
Please see part 2
Hello. Please. If it's not difficult to give a link to the project with the source code. Thank you.
Full Project Download Link : drive.google.com/open?id=0B-Y5NNpgn96SNFNGeTBHN3ZmOEk