How can I bind a Windows Forms Datagrid to a collection?
From: Michael Kellogg (mkellogg_at_WEDELIVERcc3.com)
Date: 01/21/05
- Next message: Adrian: "Re: System.Security.SecurityException"
- Previous message: james: "Re: Read Hex value from Specific address"
- Next in thread: Ken Tucker [MVP]: "Re: How can I bind a Windows Forms Datagrid to a collection?"
- Reply: Ken Tucker [MVP]: "Re: How can I bind a Windows Forms Datagrid to a collection?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 21 Jan 2005 11:24:33 -0800
I have a collection of custom objects that I am displaying in a Windows
Forms Datagrid. To display it, I take the collection and build a DataTable
object on the fly, then set the grid's DataSource to the DataTable. The
code for this is lengthy and the grid is obviously not editable. I've read
it's possible to connect my collection directly, and have it be editable,
too. Can anyone point me to a resource that can walk me through this?
TIA
-- Michael
- Next message: Adrian: "Re: System.Security.SecurityException"
- Previous message: james: "Re: Read Hex value from Specific address"
- Next in thread: Ken Tucker [MVP]: "Re: How can I bind a Windows Forms Datagrid to a collection?"
- Reply: Ken Tucker [MVP]: "Re: How can I bind a Windows Forms Datagrid to a collection?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|