using System.Reflection;
Type t = typeof(YourClass);
foreach (PropertyInfo pi in t.GetProperties())
{
Response.Write(pi.Name);
}
Type t = typeof(YourClass);
foreach (PropertyInfo pi in t.GetProperties())
{
Response.Write(pi.Name);
}
浙公网安备 33010602011771号