Listview and DB

4 posts, 0 answers
  1. Bruno
    Bruno avatar
    2 posts
    Member since:
    Feb 2014

    Posted 01 Mar 2014 Link to this post

    Hi,

    As seen in 1.png i have loaded some stuff from my db ... but what i would actually love to do is have something like in the 2.png what telerik has done. So basically take the info from the colums (maybe a column where all the image paths for items are stored too) and put all that info per item....

    Is there a simple way of doing it?


    So far what i've done is just bind data to radlistview and have this in form load :     Me.Table1TableAdapter.Fill(Me.TestDataSet.Table1)


    Any help would be greately appreciated.


    Cheers
  2. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 04 Mar 2014 Link to this post

    Hello Bruno,

    Thank you for writing.

    The source code for the example that can be seen in your second attachment is available in the the demo application. Just switch to the tab with the preferred programming language. 

    This example also uses custom visual items. Information about how such items can be created is available in the following help article: Custom items.

    If you need additional styling you can check the following article which describes the items formatting: Formatting Items.

    Do not hesitate to contact us if you have other questions.

    Regards,
    Dimitar
    Telerik
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Bruno
    Bruno avatar
    2 posts
    Member since:
    Feb 2014

    Posted 04 Mar 2014 Link to this post

    Eell i ve seen the vode but i have trouble importing it and using it in vs 2013 VB. Is there a chance of having a sample with complete project and form?

    Cheers
  5. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 07 Mar 2014 Link to this post

    Hello Bruno,

    Thank you for writing back.

    I have prepared small sample project where you can see how to create a custom items like in the demo application example.

    Please let me know if there is something else I can help you with. 

    Regards,
    Dimitar
    Telerik

    DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

Back to Top