Click here to Skip to main content
16,016,759 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
I need some help please with my first WPF Project

I have a ListView with 3 Column which is linked to a Access Database

I need to get the content of the 1st row 3rd column but without clicking on the listview

So what i need to do is say press a button and the content that i require is displayed in a textbox

i am using

var lv = listViewPlayList.ItemContainerGenerator.ContainerFromIndex(0) as ListViewItem;

which gives me the total row content but i dont know how to extrace the content from lv

thanks

Tony
Posted
Comments
AlphaDeltaTheta 30-May-13 23:53pm    
List view to database... I'll suggest to use datagrid. It has better cell data access options
anthp 31-May-13 1:16am    
Hi Amitosh
Thank you, i will go and have a read

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900