For full Source code and step to step description click here: tutorialslink.com/Articles/How-to-Get-and-Display-Table-Data-from-Database-using-AngularJs-in-Aspnet-MVC/34
@smsoni13836 жыл бұрын
your code is good but i have one issued. my data is not display in table format. so what should i change in my code?
@CsharpSpace6 жыл бұрын
+Satyesh Soni I think you not add ng repeat on tr of your table check for this
@smsoni13836 жыл бұрын
i already put it...but not displayed data in tabular format. please check it my code. my app.js code var app = angular.module('MyApp', []); app.controller('SampleDBController', function ($scope, $http) { $http.get('/Home/SampleDB').then(function (d) { $scope.rData = d.data; },function (error) { alert('failed'); }); }); source code : Name City Contact {{e.name}} {{e.city}} {{e.contact}} Controller code : public JsonResult SampleDB() { EmpDAL obj = new EmpDAL(); obj.employeelist = GetEmpList(); return Json(obj,JsonRequestBehavior.AllowGet); }
@GPMedia01245 жыл бұрын
you not added th in table
@navidhernandez20556 жыл бұрын
Excelent thanks you
@CsharpSpace6 жыл бұрын
welcome
@bhaktiisaitamil7 жыл бұрын
sir, where should i get that angular.min js file?
@CsharpSpace7 жыл бұрын
+Prabhu Thirunavukkarasu check this url ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"
@amribrahim3807 жыл бұрын
great job bro. (Y)
@CsharpSpace7 жыл бұрын
+Amr Ibrahim thanks
@kadarirajashekar6 жыл бұрын
Data not displaying and showing "Failed" Alert and one more thing while am opening stored procedure It's showing like 'An incompatible SQL Server version detected.' Is this is the reason for not displaying Data. please tell me sir
@CsharpSpace6 жыл бұрын
You need to update your visual studio sql extension, I have already created video for this problem. Check my videos
@kadarirajashekar6 жыл бұрын
@@CsharpSpace thank you i will update
@CsharpSpace6 жыл бұрын
Welcome
@christianhansen98306 жыл бұрын
Hello i am trying to show data from sql table. I have followed your guide but get an error in my console: GET 50aar.local/Home/getrecord 404 (Not Found). I have made a project with Umbraco and then followed you guide totally. But it cant seems to find my "getrecord" function. What am i doing wrong?
@CsharpSpace6 жыл бұрын
check the path of your method that you provided
@ankitsahu41186 жыл бұрын
thnks
@suhaskadam24535 жыл бұрын
plz sir make video of CRUD operation within table using angulajs and ado.net combine
@CsharpSpace5 жыл бұрын
I have already upload video for this: kzbin.info/www/bejne/iWKbfYdrppysndk
@kirtisingh13796 жыл бұрын
Done All the code but its not working. Its giving the result like @ID, @Name. Can you please help me to where is the problem.