Hi all, Im working on an assignment where I have to create a list of things. I use a radiobutton to see the list and another to create the list. the instruction was to make sure tht as I add into the list it grows...but the catch is that wen I load it again it shouldnt store the prev items. Shud erase them and reload them with the new item tht was currently added. So I cant use files or things like that. I thot of Arraylist/List but I dont knw if it an "recall" its prev items. Any ideas?
I am coding in c#
Thanks
Loading
Avuya MxoliPosted Aug 28, 2011, 2:07 PM
VulpesPosted Aug 28, 2011, 12:34 PM
Now set both its Forecolor and BackColor properties to "White" so it's still rendered but doesn't show up.
Avuya MxoliPosted Aug 28, 2011, 8:29 AM
Gender: (radiobutton)Female
(radiobutton)Male
the first radiobutton aligns well with the label but the next one just falls below the label.Iv tried using a radiobuton list and this is what I get:
Gender:
(Radiobutton)Female
(Radiobutton)Male
this one is worse so I went back to using the 1st example.
Plz help.
Thanks
VulpesPosted Aug 25, 2011, 2:43 PM
You can use the Add() method to add items and the Clear() method to remove all items.
Note, however, that the List