Control array

  • Thread starter Thread starter Jim McGivney
  • Start date Start date
J

Jim McGivney

I am working on an ASP.net project with code behind in C#.
I must manipulate the contents of many image controls.
In visual basic (VB6) I could place all the controls into a control array
and then refer to an individual control by it's index number.
I would like to do the same in C#.
Can someone suggest a method I should use ?
Thanks,
Jim
 
Hi Jim,

Not directly as there is no direct concept of a control array. But you can
certainly create a panel control and add the images to that which gives a
control collection that you can access by index.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com
www.west-wind.com/weblog
 
Back
Top