Hello,
I make a arraylist
public ArrayList oaTaken = new ArrayList();
I add the class "clstaak" to my arraylist
oaTaken.Add(new clsTaak(iNummer ,bAfgewerkt,sDa tum,sTekst));
Now I wanna read a property from the class that is located in oaTaken[0], i = oaTaken[0].getsetDatum;
but I get always the following error
Error 1 'object' does not contain a definition for 'getsetDatum' and no extension method 'getsetDatum' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\aaa\My Documents\Visua l Studio 2008\Projects\T akenlijkstV2\Ta kenlijkstV2\tak enlijst.cs 102 28 TakenlijkstV2
Somebody got an idea?
Thanks in advance
I make a arraylist
public ArrayList oaTaken = new ArrayList();
I add the class "clstaak" to my arraylist
oaTaken.Add(new clsTaak(iNummer ,bAfgewerkt,sDa tum,sTekst));
Now I wanna read a property from the class that is located in oaTaken[0], i = oaTaken[0].getsetDatum;
but I get always the following error
Error 1 'object' does not contain a definition for 'getsetDatum' and no extension method 'getsetDatum' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\aaa\My Documents\Visua l Studio 2008\Projects\T akenlijkstV2\Ta kenlijkstV2\tak enlijst.cs 102 28 TakenlijkstV2
Somebody got an idea?
Thanks in advance
Comment