Datagrid and arrays

M

Mark Aurit

Ive populated datagrids with sql statements in the past,
and just attempted to do so with an array (with 19 rows
and maybe 5 columns). On the dg.DataSource= statement Im
getting an "Array was not a one-dimensional array" error
message. Maybe Im missing something here, but I thought
by definition rows and columns (not key-value pairs) were
2-dimensional arrays, so this seemed like an error message
stating the obvious. My thoughts were "of course its not
one-dimensional - but then so is the result set of a sql
statement, and I havent seen this error from that". Can
someone please enlighten me?
Thanks, Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top