1,创建一个asp.net网站

2.创建一个student类

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Student 的摘要说明
/// </summary>
public class Student
{
    public Student()
    {
        //
        // TODO: 在此处添加构造函数逻辑
        //
    }
    public int Id { get; set; }
    public String  Name { get; set; }
    public int Age { get; set; }

}
View Code

相关文章: