thanks... what about the order of columns displayed. I have bound the listobject to a Person class having firstname lastname and age properties. the listobject is showing the lastname first and then firstname. how is it basing its order
this is fine when we are dealing with data tables in datasets. but in my case i have a Person class and a collection of Persons. the datasource is the collection but what is the datamember and the column names in that case
ListObject binding
yatingg
Fredrik Kronander
show only and order of columns
DQM
atypoli
view this, from msdn (data source for listobject):
The following data sources are valid:
A DataTable.
A DataView.
A DataSet.
A DataViewManager.
Any component that implements the IListSource interface.
Any component that implements the IList interface.
See the Binding class overview for more information on data sources.
finialscraps
datamember = "" worked....
Thanks
prujohn
maybe work