Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

array of dataset

0 views
Skip to first unread message

Ruby

unread,
Aug 1, 2003, 7:07:22 AM8/1/03
to
hi...
Can I create array of dataset with VB.net
I try This
dim ds() as dataset
.. (code here)
For i = 0 to 4
ds(i) = new dataset ??? error object bla..bla...bla
Next
Is there something wrong with this code?
thank all
Ruby

Gary McCormack

unread,
Aug 1, 2003, 7:53:30 AM8/1/03
to
You have declared the array as a dynamic array. I assume
somewhere you are using redim to specify how many elements
it is to have?

I.e
ReDim ds(4)


For i = 0 to 4
ds(i) = new dataset

Next

>-----Original Message-----
>hi...
>Can I create array of dataset with VB.net
>I try This
>dim ds() as dataset

>... (code here)


>For i = 0 to 4
> ds(i) = new dataset ??? error object bla..bla...bla
>Next
>Is there something wrong with this code?
>thank all
>Ruby
>
>
>

>.
>

Ruby

unread,
Aug 3, 2003, 10:05:13 PM8/3/03
to
thank alot Gary...:)
Ruby

"Gary McCormack" <gary.mc...@tryster.co.uk> wrote in message
news:098a01c35823$86fea1c0$a501...@phx.gbl...

0 new messages