Custom Data Bindable Classes
From: a.maggiulli (a.maggiulli_at_online.nospam)
Date: 12/16/04
- Next message: Rollasoc: "Re: Autoincrement value.. Why in new row? How do I get the next value?"
- Previous message: Colin R. R. Johnson: "Re: Autoincrement value.. Why in new row? How do I get the next value?"
- Next in thread: Jeffrey Tan[MSFT]: "RE: Custom Data Bindable Classes"
- Reply: Jeffrey Tan[MSFT]: "RE: Custom Data Bindable Classes"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 16 Dec 2004 04:05:03 -0800
Hi all ,
I write 4 custom class for binding in a data grid.
I write class Produts like this :
Public Class myProduts
Inherits CollectionBase
...
and I implement the IList.Add and IList.Remove interface method plus
default indexer.
this class refer to a myProduct class with 20 get/set properties.
myProduct class have another collection of myParts object ( like myProducts )
i bind a datagrid to the myProduts class and my problem is :
1) the grid is binding but the column order is completelty random...
2) if i try to set the datamember a error popup show : method not supported..
3) i don't see the hierarchy Product->Parts
thanks for suggestion
-Andrea
- Next message: Rollasoc: "Re: Autoincrement value.. Why in new row? How do I get the next value?"
- Previous message: Colin R. R. Johnson: "Re: Autoincrement value.. Why in new row? How do I get the next value?"
- Next in thread: Jeffrey Tan[MSFT]: "RE: Custom Data Bindable Classes"
- Reply: Jeffrey Tan[MSFT]: "RE: Custom Data Bindable Classes"
- Messages sorted by: [ date ] [ thread ]
Loading