By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,886 Members | 1,249 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,886 IT Pros & Developers. It's quick & easy.

Fill - Index outside bounds array

P: n/a
Any idea why when I try to fill my dataset using
xContacts.Fill(xds.Contacts) I get the error:

: Index was outside the bounds of the array.
I've tried rebuilding my dataadapters and dataset and still get the error,
can preview it fine. Thanks
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
B-dog

The only idea I can have is that your xds.Contacts is not a dataset or a
datatable.

So show us a part more of your code

Cor
Nov 21 '05 #2

P: n/a
I think I found it, somehow it was running code elsewhere in my project on
initialize causing my fill to fire twice. Thanks

"Cor Ligthert" <no************@planet.nl> wrote in message
news:eP*************@TK2MSFTNGP11.phx.gbl...
B-dog

The only idea I can have is that your xds.Contacts is not a dataset or a
datatable.

So show us a part more of your code

Cor

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.