Dim pr As System.Reflection.PropertyInfo
For Each pr In myCls.GetType().GetProperties()
Response.Write("Name: " + pr.Name + "<BR>")
Next
This will get the name of each property. As far as getting the value associated with it, that is another problem. Have not figured that out yet. This is way more difficult than it should be.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.