using   System.Reflection;  
   
  Type   t   =   typeof(YourClass);  
  foreach   (PropertyInfo   pi   in   t.GetProperties())  
  {  
        Response.Write(pi.Name);  
  }
posted on 2009-09-23 16:53  微星  阅读(288)  评论(1编辑  收藏  举报