Hey guys,
I have a web service with 230 public properties named Value1, Value2...ValueN:
Public Class Person
Public Value1 As ValueN
...
Public Value230 As ValueN
End Class
Each ValueN is a structure:
Public Structure ValueN
Public Value As String
Public FieldName As String
Public FieldCaption As String
Public FieldType As String
Public FieldLength As String
Public Critical As Boolean
Public ValidationMessage As String
End Structure
How do I iterate through through these properties? Is there a better way to organize them like array and if so how do I iterate through these in web service and in consuming code?
Thanks a lot!
(my C# really sucks, please VB.NET )
I have a web service with 230 public properties named Value1, Value2...ValueN:
Public Class Person
Public Value1 As ValueN
...
Public Value230 As ValueN
End Class
Each ValueN is a structure:
Public Structure ValueN
Public Value As String
Public FieldName As String
Public FieldCaption As String
Public FieldType As String
Public FieldLength As String
Public Critical As Boolean
Public ValidationMessage As String
End Structure
How do I iterate through through these properties? Is there a better way to organize them like array and if so how do I iterate through these in web service and in consuming code?
Thanks a lot!
(my C# really sucks, please VB.NET )