C# Beginners Tutorial – 91 – ListView Control pt 1

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

14 responses to “C# Beginners Tutorial – 91 – ListView Control pt 1”

  1. D. Refaeli Avatar

    I would create an array of the strings I want to add to the listview and then just add them:

    string[] row = { comboBox1.Text, textBox1.Text };
    ListViewItem lvi = new ListViewItem(row);
    listView1.Items.Add(lvi);

  2. Nightsstar Avatar

    Thank you for this, it helped a lot!

  3. LautHelmchen Avatar

    My VS (2015) is saying, that there is an constructore missing, who would accept the arguments (Textboxes). What is the differemce in VS 2015? How can i do that there?

  4. coreyu98 Avatar

    Great content, better microphone please?

  5. Ivan Markovic Avatar

    This is great stuff, thank you man!!!

  6. Hayashi Avatar

    Thank you so much much much

  7. jcrldesigner Avatar

    thx man helpfull

  8. Craig Smith Avatar

    Tutorials from a 15 year-old! Wish I was this keen and smart at that age!

  9. Arpit Garg Avatar

    thanks, i was searching for this stuff and finally ur tutorial came for rescue.

  10. Biosystem Studios Avatar

    yea, haha don't worry we all make mistakes, and I apologize for sounding like a dick, I wasn't trying to

  11. merc - Avatar

    Oh my bad. It's suppose to be "textBox1.Clear();"

  12. Biosystem Studios Avatar

    doesn't work like that. It returns the error " 'string' does not contain a definition for 'clear' and no extension method 'clear' accepting a first argument of type 'string' could be found"

    =) turns out that cant be used in C#, i would recommend testing out code before you go blabbing out like that and make yourself look like a idiot lol

  13. merc - Avatar

    Or you can do
    TextBox1.Text.Clear();
    and so on.

  14. spicebrush Avatar

    Exactly what I was looking for! But email addresses can be long. Is there a way to anchor just that third column so that if the form is resized, the column expands accordingly?

Leave a Reply

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