Lot's of LIVE projects available here.
Welcome to SMI Studio
We Provide Best Software Solutions using Latest Technology with Design, Developement, Testing and Maintenance. RAD with Agile Methodology.
We developed many kinds of Applications & Works on lot of programming languages and Technologies like
Angular, ASP.Net, C#.Net, Web API, Node npm, PHP, JSP, MVC.Net, jQuery, Bootstrap, HTML/CSS/ javaScript. Awesome various types of database MS SQL Server, Firebase, MariyaDB.
styles.cssBrowserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist
WARNING in ./node_modules/@angular/material/esm5/tree.es5.js 38:63-88
"export 'CDK_TREE_NODE_OUTLET_NODE' was not found in '@angular/cdk/tree'
WARNING in ./node_modules/@angular/material/esm5/tree.es5.js 168:35-60
"export 'CDK_TREE_NODE_OUTLET_NODE' was not found in '@angular/cdk/tree'
WARNING in ./node_modules/@angular/material/esm5/stepper.es5.js 314:83-105
"export 'STEPPER_GLOBAL_OPTIONS' was not found in '@angular/cdk/stepper'
i 「wdm」: Compiled with warnings.
Go to model folder > Right click > add > class > student.cs
using System.ComponentModel.DataAnnotations;
namespace WebApplication1.Models
{
public class Student
{
public int StudentId { get; set; }
[Display(Name = "Name")]
public string StudentName { get; set; }
public int Age { get; set; }
[Display(Name ="Image")]
public string imgPath { get; set; }
}
}
Go to controller Folder > Right click > Add> Controller > Student
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
public class StudentController : Controller
{
IList studentList = new List() {
new Student(){ StudentId=1, StudentName="John", Age = 28, imgPath="images/close.png" },
new Student(){ StudentId=2, StudentName="Steve", Age = 25 ,imgPath="images/code.png"},
new Student(){ StudentId=3, StudentName="Rob", Age =21,imgPath="images/fileupload.png"},
};
public ActionResult Edit(int Id)
{
var std = studentList.Where(s => s.StudentId == Id).FirstOrDefault();