[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
C# Beginners Tutorial – 91 – ListView Control pt 1
by
Tags:
Comments
14 responses to “C# Beginners Tutorial – 91 – ListView Control pt 1”
-
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); -
Thank you for this, it helped a lot!
-
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?
-
Great content, better microphone please?
-
This is great stuff, thank you man!!!
-
Thank you so much much much
-
thx man helpfull
-
Tutorials from a 15 year-old! Wish I was this keen and smart at that age!
-
thanks, i was searching for this stuff and finally ur tutorial came for rescue.
-
yea, haha don't worry we all make mistakes, and I apologize for sounding like a dick, I wasn't trying to
-
Oh my bad. It's suppose to be "textBox1.Clear();"
-
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
-
Or you can do
TextBox1.Text.Clear();
and so on. -
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