private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
combobox.items.add=("peter magdy");
if (combobox.selecteditems=("peter magdy")
textbox.text==("age 23, male, etc");
}
this code helps you to populate textbox with value from combobox
Try this.
Maybe you will have to change names of components (in code or in the winform designer), though.
Consider this
Try also seeing for SelectionChangeComitted event in place of selectionIndexChange.
SelectionChangeComitted is a last event of the selection which should be the place just before the value is set to comboBox.
SelectedIndex change may not come when when you use up and down arrows in comboBox but the text of comboBox still changes.
Textbox have
Text
property which can set/get text.