Listview Databinding to a either a datatable or business object how?

Hi,

I know that databinding has largely improved in vs2005.
However I cannot seem to put together a databindingListview.
Could somebody help me with an example how to do it.

thanks a lot

vbjunkie@hotmail.co.uk

[321 byte] By [vbjunkie] at [2008-2-7]
# 1
We don't support data binding to a ListView - I'd suggest you use a DataGridView instead.

Joe

JoeStegman at 2007-9-8 > top of Msdn Tech,Windows Forms,Windows Forms Data Controls and Databinding...
# 2
I know that listview doesnt support databinding however i was wondering if somebody had written a databinding listview in vs2005 .

That s all.

anybody willing to share the code

thanks a lot in advance

vbjunkie at 2007-9-8 > top of Msdn Tech,Windows Forms,Windows Forms Data Controls and Databinding...
# 3
Is there a reason you need to data binding to the ListView - why can't you use the DataGridView instead?

Joe

JoeStegman at 2007-9-8 > top of Msdn Tech,Windows Forms,Windows Forms Data Controls and Databinding...
# 4
Sorry for late reply.

I dont have a proper answer to that .I know that by using the currencyManager you can achieve that,but never tried.I also thought that maybe MS since they have improved the databinding it might be easier to do it.

Also in the past I dont know now ,you could not rearrage columns and save settings with the datagrid.

I was just wondering if somebody had done it and was willing the share the code.

Also maybe mymistake because where i work they used a lot of listviews I never managed to master to full potential of the datagrid.
Any good examples how to use it ?
On another note.Do you know why i dont get the email alerting me that there is a reply to my thread even though i pressed the alert check box?
thanks a lot
vbjunkie

vbjunkie at 2007-9-8 > top of Msdn Tech,Windows Forms,Windows Forms Data Controls and Databinding...