Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in one Single view page - How to Perform All CRUD operation in angular js with multiple table??
-List(of Records-Edit Delete)
-Create New

What I have tried:

JavaScript
//Inserting Data
$scope.SavingData = function (person) {
    debugger;
    var person = new Object();
    person = $scope.blankrecords.length;
    var data = {
        name: $scope.name,
        mobileno: $scope.mobileno,
        person: person,
    };
    $.ajax({
        method: 'POST',
        url: '/Home/AddDetails',
        datatype: "json",
        data: {
            person: data
        },
    }).success(function (data) {
        alert("Data Submitted Sucessfully");
    });
Posted
Comments
Karthik_Mahalingam 8-Nov-16 7:04am    
send it as json array
Manas m@ster 8-Nov-16 7:10am    
Send me some Link Where i can follow??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900