How to create dynamic Grid using mvc 3 aspx engine?
问题 I am new to asp.net mvc 3.I am trying to generate a dynamic gridview using mvc3 but i cannot produce grid. My code below: Model: public class Employee { public string FirstName { get; set; } public string LastName { get; set; } public double Salary { get; set; } public static List<Employee> GetList() { List<Employee> employees = new List<Employee>{ new Employee { FirstName="Rahul", LastName="Kumar", Salary=45000}, new Employee { FirstName="Jose", LastName="Mathews", Salary=25000}, new