20 thoughts on “C# Tutorial 27, ListView Control

    George Ellis

    (January 17, 2019 - 3:50 am)

    Thanks. Just what I needed.

    Microcontrollers Projects

    (January 17, 2019 - 3:50 am)

    Super, Thanks

    Emal Arghandevol

    (January 17, 2019 - 3:50 am)

    João Vitor Veronese Vieira

    (January 17, 2019 - 3:50 am)

    Thank you, bro!

    Yanneck B diesa

    (January 17, 2019 - 3:50 am)

    Aww, You saved me because I didn't know

    Sergio Gomez

    (January 17, 2019 - 3:50 am)

    Hi, how can select multiple items??

    Sergio Nunes Filho

    (January 17, 2019 - 3:50 am)

    Good class, man.
    I have a question if you can help me.

    How can I get float values from a second listview column, in case [1], and subtract the value from a textbox or a label with a value already entered?

    Naveed Haroon

    (January 17, 2019 - 3:50 am)

    Awsome man! i have a question with this, at 01:14 you change columns width and at the time of exection or debugging or running it, the column size is differ. Can you teach me how to make it fix that the column size we set at form, shows at running time too. kindly Guide me, Thank you, Regard, Muhammad Naveed Haroon

    Adibta Triantama

    (January 17, 2019 - 3:50 am)

    Simple Tutorial, Thank you

    First Gear Games

    (January 17, 2019 - 3:50 am)

    I realize this is an old video but it was the first result I found. So I'm going to leave a little extra information to help others.

    If you want to capture which SubItem is selected you can pull that from the click/double click events.

    private void listView1_MouseDoubleClick(object sender, MouseEventArgs e)
    Point clickLocation = e.Location;
    ListViewHitTestInfo hit = listView1.HitTest(clickLocation);
    int subItemIndex = hit.Item.SubItems.IndexOf(hit.SubItem);

    Fernando Mafra

    (January 17, 2019 - 3:50 am)

    thank you

    Mohamed Amer

    (January 17, 2019 - 3:50 am)

    your voice is too close for someone who make a tutorial videos in web the site called thenewboston
    Are you Adam ?

    Andrew Montana

    (January 17, 2019 - 3:50 am)

    Big Thank to you!

    Rizvan Khatri

    (January 17, 2019 - 3:50 am)

    Really great tutorial
    How can i make gridLines more dark ?
    Please tell me

    Cas Eliëns

    (January 17, 2019 - 3:50 am)

    great tutorial, thanks!

    Ho Dong Kim

    (January 17, 2019 - 3:50 am)

    Awesome tut

    Kirt Johnson Belbis

    (January 17, 2019 - 3:50 am)

    what a great tutorial …. 🙂 but can u please make a tutorial on how to transfer/display the data from listview into another form and display it to the textbox once you "DoubleClick" the data in a listview? Please I really need it 🙁 to pass my subjects please help me, I will be grateful sir 🙂 GodBless you.

    Thimz Montances

    (January 17, 2019 - 3:50 am)

    how can you search on listview with access database? please help me.. tnx..

    Daniel Silva

    (January 17, 2019 - 3:50 am)

    Thanks. Nice!

    jamesnorman602

    (January 17, 2019 - 3:50 am)

    This was nice.  Within the first three minutes I had all the information I needed to make a read-only ListView work.  Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *