Posted January 26, 201510 yr how can i use reflection to print all the items of comboBox1 to textBox1?and just need to use reflection,can anyone help me?thans a lot^_^ this.comboBox1.Items.AddRange(new object[] { "CC1", "CC2", "CC3", "CC4", "CC5"}); Edited January 26, 201510 yr by sakurawill
January 26, 201510 yr looks as a joke.., why would use someone reflection to print items from a combobox to a textbox? foreach(var item in comboBox1.Items) { textBox1.Text += item; } //result will look like: "CC1CC2CC13CC14CC15" Edited January 26, 201510 yr by Alcatraz3222
Create an account or sign in to comment