SMS-28: Student Result show by search trimester and myasp server registration and login using Jquery & Angular js in ASP.NET MVC

Part-04: Bootstrap Admin Dashboard Template setup in School Management Software Part 5: How to use AngularJS in ASP.NET MVC Part-6: CRUD Operation Insert Data using AngularJS in ASP.NET MVC Part-7: CRUD Operation & Load Data using AngularJS in ASP.NET MVC Part-08: CRUD Operation Edit, Delete Data using Angularjs in ASP.NET MVC Part-3: Create Database and Table in sql server for school management system Part-09: Insert Section data using ASP.NET MVC AngularJs Part-10: Edit Update and Delete Section data using Angular js | ASP.NET MVC | Jquery Part-11: Cascading Dropdownlist Section Batch selection in MVC JQUERY AngularJS Part-12: Insert & Delete course information for school management software using ASP.NET MVC Javascript Angularjs Part-13: Create Update course info in ASP.NET MVC AngularJs JQUERY Javascript Part-14: Insert data and Page design bootstrap using ASP.NET MVC JQUERY AngularJS Part-15: Insert & Get data using store procedure in SQL Server ASP.NET MVC AngularJS JQUERY Part-16: Load student list,bootstrap and Inactive using ASP.NET MVC AngularJS Jquery Part-17: User authentication using Store procedure Javascript AngularJS JQUERY ASP.NET MVC Part-18: User authentication, authorization and login using ASP.NET MVC AngularJS Javascript JQUERY Part-19: User Registration & Insert semester Info using AngularJS in ASP.NET MVC Part-20: Load semester info & Student course offer page design using ASP.NET MVC JQUERY Angularjs Part-21: Course Offer Entry Using Jquery Multiple Data Save (Part-1) using ASP.NET MVC AngularJS SMS-22: Student Course Offer Entry happens Using Jquery Multiple Data Save List view dropdownlist Load using Angular js in ASP.NET MVC SMS-23: Student course offer list semester search using ASP.NET MVC AngularJS JQUERY SMS-24: Student Marks Entry page in table column input marks entry using Jquery & Angular js in ASP.NET MVC SMS-25: Student Course Mark multiple data save using jquery with Stored Procedure & Angular js in ASP.NET MVC SMS-26: Student Marks list show by search student name and trimester Jquery & Angular js in ASP.NET MVC SMS-27: Student profile create and browse profile using Store procedure AngularJS Jquery ASP.NET SMS-28: Student Result show by search trimester and myasp server registration and login using Jquery & Angular js in ASP.NET MVC

12/6/2021 12:00:00 AM

In this post, I will discuss Part  28 Student Result show by search trimester and myasp server registration and login using Jquery & Angular js in ASP.NET MVC.

Step-1:  In Marks Page writing the below code.

Go to Solution Explorer > Views Folder > StudentProfile  Folder> Marks page  with writing the below code. Trimester Name Load and when select Trimester Name then student can show Result.

                <div class="col-7">

                        <h1>Result Info</h1>

                        <hr />

                        <div class="form-group">

                            <label>Trimester Name</label>

                            <select class="form-control" onchange="GetStudentResult(this)" ng-model="StudentCourseOfferDAO.TrimesterInfoId" id="TrimesterInfoId">

                                <option ng-repeat="e in Trimester" value="{{e.TrimesterInfoId}}">{{e.TrimesterInfoName}}</option>



                        <div class="form-group">

                            <table class="table table-responsive table-info" id="dtTable">




                                        <td>Course Name</td>


                                        <td>Out of Marks</td>



                                <tbody id="dtTableBody">





Step-2: In this page add GetStudentResult() function with writing the below code.

function GetStudentResult(select) {

        var prm = "";     

            prm = prm + " and StudentId ='" + @Session["StuId"] + "'"  

        if ($('#TrimesterInfoId').val() != "") {

            prm = prm + " and TrimesterInfoId ='" + $('#TrimesterInfoId').val() + "'";


          var urlPath = '@Url.Action("GetStudentMarksList", "StudentMark")';


            url: urlPath,

            dataType: 'json',

            data: { prm: prm},

            type: "Get",

            async: true,

            success: function (data) {

                var result = JSON.parse(data);

                var row = "";

                var tMark = 0;

                var tMarksOutOf = 0;


                for (var i = 0; i < result.length;i++) {

                    row +="<tr>";

                    row += "<td>" + (i + 1) + "</td>";

                    row += '<td> ' + result[i].CourseName+ '</td>';

                    row += "<td> " + result[i].Marks + "</td>";

                    row += "<td>" + result[i].MarksOutOf + "</td>";

                    tMark = parseFloat(tMark) + parseFloat(result[i].Marks);

                    tMarksOutOf = parseFloat(tMarksOutOf) + parseFloat(result[i].MarksOutOf);

                    row += "</tr>";


                row += "<tr>";

                row += '<td> ' + '</td>';

                row += '<td> Total:' +  '</td>';

                row += "<td  > " + tMark + "</td>";

                row += "<td > " + tMarksOutOf + "</td>";

                row += "</tr>";



            error: function (data) {

                alert("Operation Faild!!");




Step-3: Run Application.

Step-4: Open a browser and search in google MYASP Server.

Then go to the first link. After that click sign up button > Sign up page >Sign up here as like video instruction. > Verify your account > Login in below this link> after that you will get the admin panel.> In 29 Part video we deployed our project and Database. Please follow the instruction of the 29 part video.

About Teacher

Reza Karim

Software Engineer

More about him