Sorting the WPF Listview -


iam having listview named "listlogindetails" in wpf. in displays 2 columns namely "user_name", "password" through dataset. haven sort listview on both ascending & descending order. based upon button clicked.....

home.xaml:

    <listview name="listlogindetails" itemssource="{binding path=table}" margin="18,0,0,0" grid.rowspan="3" >        <listview.view>           <gridview x:name="gridview">                <gridviewcolumn width="100" header="user_name" displaymemberbinding="{binding path=id}" />                <gridviewcolumn width="140" header="password" displaymemberbinding="{binding path=password}" />           </gridview>        </listview.view>     </listview> 


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -