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
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