在一個ASP
public class Employee
{
[Display(Name=
public string Id { get; private set; }
[Display(Name =
public string Name { get; private set; }
[Display(Name =
public string Gender { get; private set; }
[Display(Name =
[DataType(DataType
public DateTime BirthDate { get; private set; }
[Display(Name =
public string Department { get; private set; }
public Employee(string id
string department)
{
this
this
this
this
this
}
}
返回目錄
編輯推薦
ASP
Microsoft
Java程序性能優化
Visual C++音頻/視頻技術開發與實戰
[
From:http://tw.wingwit.com/Article/program/net/201311/16074.html