C# Tutorial 27, ListView Control

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • Have a problem? Talk to me on aim, iTzAdam5

ความคิดเห็น • 59

  • @mlethere
    @mlethere 10 ปีที่แล้ว +1

    Thank you ! Nice and simple .. although the column resizing never worked.

  • @simmigon1
    @simmigon1 12 ปีที่แล้ว

    They are asking how to save the infomation that is enter into a listview on the form. So that you can later view the Information after the application has ended.

  • @mico4169
    @mico4169 11 ปีที่แล้ว +5

    OMG! YOU SAVED MY LIFE!

  • @mickyboy159
    @mickyboy159 3 ปีที่แล้ว

    That was a nice and simple explanation to get me started using listview. Thanks a lot!

  • @FirstGearGames
    @FirstGearGames 8 ปีที่แล้ว

    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);

  • @MrSponix32
    @MrSponix32 13 ปีที่แล้ว

    Thank you !!!!! iTzAdam5

  • @neuroiq
    @neuroiq 12 ปีที่แล้ว

    Do you know which event we should handle if the # of items in the ListView changes?

  • @jdelluba
    @jdelluba 10 ปีที่แล้ว

    nice tuitorial.. i would like to know how to programmatically select each items from index zero to last...thanks

    • @SanderMakes
      @SanderMakes 10 ปีที่แล้ว

      You mean in a list?
      for(i=0; i

  • @yanneckbdiesa66
    @yanneckbdiesa66 7 ปีที่แล้ว

    Aww, You saved me because I didn't know

  • @serginho3000
    @serginho3000 7 ปีที่แล้ว

    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?

    • @serginho3000
      @serginho3000 7 ปีที่แล้ว

      thanks man. I already did these methods.

  • @Neo23x0
    @Neo23x0 12 ปีที่แล้ว

    Great, thanks

  • @gethermedel3620
    @gethermedel3620 10 ปีที่แล้ว

    nice but how to you put the data on the list view from a Database??

  • @iDrinkJ3LLY
    @iDrinkJ3LLY 11 ปีที่แล้ว

    Lol

  • @idrisselwadi2341
    @idrisselwadi2341 9 ปีที่แล้ว +1

    Merci boucoup ;Thank you for this tutorial ;)

  • @Coder-zx4nb
    @Coder-zx4nb 9 ปีที่แล้ว +1

    nice tut! short sweet, straight to the point and much easier than reading poorly written documentation.

  • @RizvanKhatri
    @RizvanKhatri 8 ปีที่แล้ว

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

  • @kirtjohnsonbelbis4066
    @kirtjohnsonbelbis4066 9 ปีที่แล้ว

    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.

  • @jamesnorman602
    @jamesnorman602 9 ปีที่แล้ว

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

  • @binaryparrot3352
    @binaryparrot3352 4 ปีที่แล้ว

    Great tutorial, thank you very much!

  • @ManuShah1989
    @ManuShah1989 12 ปีที่แล้ว

    How to add only unique names in the listview....Help appreciated....

  • @pecilijevelicanstveni4973
    @pecilijevelicanstveni4973 4 ปีที่แล้ว

    Thank you, thank you, thank you sir! You saved me! Brief and efficient explanation!

  • @AlanDias17
    @AlanDias17 9 ปีที่แล้ว +3

    Time Saver!! Thanks

  • @andreyl9123
    @andreyl9123 9 ปีที่แล้ว

    Thank you for the tutorial!
    I have a question: how to make selected next item after deleting previous item? I want to delete a few items, just clicking on the "delete" button.

  • @iTzAdam5X
    @iTzAdam5X  13 ปีที่แล้ว

    @ginda96 I don't understand what you mean. Please elaborate.

  • @michaelhuber5070
    @michaelhuber5070 9 ปีที่แล้ว

    The tutorial is really good. It was very helpful and I could solve my exercise perfectly. Thank you!

  • @helibbc
    @helibbc 12 ปีที่แล้ว

    did u record the sound in the toilet?

  • @Mansoob331
    @Mansoob331 12 ปีที่แล้ว

    i want to save data to access db from list view , i have 5 column in list view and data from text boxes , plz help me as soon as possible , its urjent

  • @roykristianbispo2131
    @roykristianbispo2131 4 ปีที่แล้ว

    thanks for the tutorial, i feel like god is talking to me though

  • @naveedharoon9342
    @naveedharoon9342 7 ปีที่แล้ว

    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

  • @DanaKurdi
    @DanaKurdi 10 ปีที่แล้ว

    what about WPF get the selected Item ?

  • @cascer123
    @cascer123 8 ปีที่แล้ว +1

    great tutorial, thanks!

  • @rkumar4747
    @rkumar4747 9 ปีที่แล้ว

    Thanks for the tutorial. Straight to the point.

  • @ranxuxin9179
    @ranxuxin9179 11 ปีที่แล้ว

    Cool! I searched msdn for the whole morning about listview. But I get clear information from your video.

  • @rodrigosardinas1650
    @rodrigosardinas1650 12 ปีที่แล้ว

    Probably the simplest and easiest example to understand that I've run accross yet. Thanks for posting this.

  • @cabbagekim3130
    @cabbagekim3130 8 ปีที่แล้ว +1

    Awesome tut

  • @sergiogomez522
    @sergiogomez522 7 ปีที่แล้ว

    Hi, how can select multiple items??

  • @microcontrollersprojects2762
    @microcontrollersprojects2762 6 ปีที่แล้ว

    Super, Thanks

  • @georgeellis5237
    @georgeellis5237 5 ปีที่แล้ว

    Thanks. Just what I needed.

  • @tomaswesterlund
    @tomaswesterlund 11 ปีที่แล้ว

    Very good video! Helped me a lot! Thanks!

  • @iAndrewMontanai
    @iAndrewMontanai 8 ปีที่แล้ว

    Big Thank to you!

  • @thenadriel
    @thenadriel 9 ปีที่แล้ว

    Thanks for the tutorial !

  • @piggyefromhell
    @piggyefromhell 12 ปีที่แล้ว

    Finally a good explanation... thanks!

  • @jarhed323
    @jarhed323 11 ปีที่แล้ว

    excellent information; thank you!

  • @danosilva81
    @danosilva81 9 ปีที่แล้ว

    Thanks. Nice!

  • @joaovitorveronesevieira2633
    @joaovitorveronesevieira2633 6 ปีที่แล้ว

    Thank you, bro!

  • @Arghandevol
    @Arghandevol 6 ปีที่แล้ว

    #thenewboston

  • @krishnakanthsbk1336
    @krishnakanthsbk1336 12 ปีที่แล้ว

    thanks dude..for this

  • @orstanislav
    @orstanislav 11 ปีที่แล้ว

    thanks! very usefull!

  • @Yourself731
    @Yourself731 9 ปีที่แล้ว

    Thank you.

  • @Gab3y
    @Gab3y 11 ปีที่แล้ว

    Thank you so much!

  • @MiskoKatua
    @MiskoKatua 11 ปีที่แล้ว

    Great Tut! Thx!

  • @fmbmafrafernando
    @fmbmafrafernando 8 ปีที่แล้ว

    thank you

  • @ivandrofly
    @ivandrofly 11 ปีที่แล้ว

    Thank you so much :)

  • @98123220
    @98123220 11 ปีที่แล้ว

    Like + Favorite

  • @Masfear33
    @Masfear33 12 ปีที่แล้ว

    thank you :)