ListControl question

  • Thread starter Thread starter Mike Caputo
  • Start date Start date
M

Mike Caputo

Does anyone know why the ListControl base class doesn't have an Items
property in Windows Forms, but does in Web Forms? This seems kind of
pointless and is really annoying when trying to write a generic procedure
for adding items to a ListControl in Windows Forms (I know I could use the
DataSource property, but I need to be able to add and remove). Anyway, I
can work around it, but I'm really curious to know why that's the case.
Thanks.

Mike

--


Michael Caputo
Programmer/Database Administrator
Simon Economic Systems Ltd.
 
Hi Mike,

Did you see one control with the same name in .Net for a webform and a
windowform that are really the same?

As example

The webcontrol Width property is as units,
The windowform Width property is as integer.

Cor
 
OK, I see that... the ListControl for WebForms is inherited from WebControl.
But really the question is, why in the world would Microsoft not provide the
same functionality on a Windows Forms control? Makes no sense to me.

Mike
--


Michael Caputo
Programmer/Database Administrator
Simon Economic Systems Ltd.
 
Back
Top