Jump to content
Tuts 4 You

c# need help with reflection


Recommended Posts

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[] {

Edited by sakurawill
Link to comment

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 by Alcatraz3222
  • Like 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...