hi ...
u can use the following code to make your object ..
// first declaration
Object [] arr;
// giving size to the array so declared
arr = gcnew Object[size];
// you can access any item upto the size simply as
arr[i].anyFunction();
On Oct 27, 7:41 pm, alex <[EMAIL PROTECTED]> wrote:
> I just started using visual studio 8, c#, sql, and asp (at the same
> time). The last time I programmed was VB5 and I remember if you
> copied an object like a text box you would get an array of text boxes
> that you can reference in a loop like...
>
> for (x = 0; x <10; x++)
> {
> textbox(x).text = "Variable X =" + x;
> }
>
> Ive searched google ALOT and keep coming up with dynamic ways to
> create object arrays, but that seems like a lot more work and harder
> to get all the objects to line up.
>
> The site I am working on now (just for fun) is:www.whatmesay.com
>
> on the "recent" page I have 25 objects and simply used brute force
> (static names) to fill in all the data from my sql data source it
> works but is very ugly and not scalable at all.