Hallo

So langsam kommt mein vorttrag in die richtige richtung :-)
nun habe ich eine frage wie man folgendes am besten umsetzt.

Ich habe eine control ueber das eine Collection mit zahlen 
gefuellt wird, dafuer habe ich ein beispiel aus dem MSDN 

Public Class Int16Collection
   Inherits CollectionBase


   Default Public Property Item(index As Integer) As Int16
      Get
         Return CType(List(index), Int16)
      End Get
      Set
         List(index) = value
      End Set
   End Property


   Public Function Add(value As Int16) As Integer
      Return List.Add(value)
   End Function 'Add


   Protected Overrides Sub OnValidate(value As [Object])
      If Not value.GetType() Is Type.GetType("System.Int16") Then
         Throw New ArgumentException("value must be of type Int16.",
"value")
      End If
   End Sub 'OnValidate 

End Class 'Int16Collection

SO nun moechte ich aber neben der nummer noch eine andere collection
anhaegen in der mehrere nummern eingefuegt werden so in der richtung

1. (1,3,4,6,7,9,0)
2. (12,1,23,4,45,6)

Wie stelle ich das am besten an?
Die weitere collection einzufuegen und aufzufuellen

Danke und Gruss

Roman Pittroff
Consulting
Bangkok, Thailand

_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an