Re: Display array data in DataGrid control
From: Turtle MacDermott (macdermott_at_nospam.com)
Date: 12/02/04
- Next message: James: "A good debug tool."
- Previous message: kh: "Binding object with object properties"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 2 Dec 2004 14:50:29 -0500
Many thanks to both of you for your suggestions.
I wasn't able to get the array itself bound to the datagrid
(the data grid would show up with a big red X across it), but using just the
table worked great!!!
- Turtle
"Turtle MacDermott" <macdermott@nospam.com> wrote in message
news:%23WppWBO1EHA.3820@TK2MSFTNGP11.phx.gbl...
> Hope this is the right newsgroup -
> if not, please redirect me.
>
> I have an array which is created dynamically in the course of my program
> execution.
> Once it exists, I'd like to display its contents in a datagrid.
>
> So far, I have succeeded in:
> Creating a dataset
> Creating a table inside that dataset
> Assigning my array data to rows in that table.
> Setting that dataset as the datasource of my datagrid
> By setting some properties, and executing
> Datagrid1.expand(-1)
> I've managed to get the datagrid to display a row with the title of my
> table.
> Clicking on this title displays the table just as my users should see it.
> But it would be really great if they didn't have to click on it.
> Is there any way I can get the data to display programmatically?
>
> TIA
> - Turtle
>
>
- Next message: James: "A good debug tool."
- Previous message: kh: "Binding object with object properties"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|