c# - windows forms listbox sorted by date -
i have windows forms list box connected data source lists dates column in database. either sort recent db entry or recent date first. sorted number default think:
5/1/15 5/11/15 5/4/15 5/5/15 and on goes list
i have bound database column has date in typed textbox.
how can sort data start recent date/ db entry?
thank you!
order date desc in sql populates datasource? way can changed without rebuilding application , seperates data logic application. datasource receive , display data based on returned sql.
Comments
Post a Comment