C# databinding .net 4.0 frame

Verrouillé C# databinding .net 4.0 frame

  • mercredi 23 mai 2012 07:12
     
     

    i have a c# application Win form .net 4.0 , already binded to a data set , displays database values on datagridView dynamically and programatically, u can print and so on. just draged a listView Box and created an event so that values display on it. issue is i want records to move up to the top of the list view continiously. My Records are displayed exactly in the database format... i want them to be shifted up everytime....

    the application i have currently , is a barcode Scanner application. when barcode data is entered on one field "BarCode" it shifts of to the next field called "ProcessedCode" and this all displays on my win form... now i need help with the listView and Im also using ms Access DataBase

    Thanks alot Guys & Ladies Of Cause.


    ThandoSiphambo

Toutes les réponses

  • mercredi 23 mai 2012 11:10
     
     Traitée

    A listView has a sort option which you can set to automatically sort.  If you have a numeric primary key you can use t the primary key as the sort filed.

    ListView1.Sorting = SortOrder.Ascending;


    jdweng

    • Marqué comme réponse Hefff mercredi 30 mai 2012 13:03
    •  
  • vendredi 25 mai 2012 09:18
     
     

    Thats it? Oh well Thanks hey


    ThandoSiphambo