You can populate grids with arrays and lists. Anything that's
IEnumerable I believe. Try pointing the grid.DataSource = yourArray or
yourArrayAsAList<T>.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Mon, Sep 21, 2009 at 10:19 AM, Markarina <[email protected]> wrote:
>
> I'm sure it's very simple to do, but coming from an embedded micro
> background I'm not fully up to speed with all the various controls.
> Anyway I'm populating a structure array with data I get from
> interoggating a serial device, and want to display the elements of the
> structure in a grid on the form, each structure element having it's
> own cell and each array element being on a new row, so essentially a
> table
>
> The only grid controls I have found seem to require a datasource, and
> the table controls I have found seem only to hold collections of
> controls.
>
> More simply put I want to display a 2-d array in a table.
>
> sorry for the dumb question
>
> Mark
>

Reply via email to