Hi everybody,
Does anybody know what the correct synthax for the following C# 2005 Espress code is? I keep getting an error message saying that "SelectedItem is a Property but is used like a Method"
private void mcMultiColumnComboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
System.Data.DataRowView myDataRowView = mcMultiColumnComboBox1.SelectedItem();
this.cultivarTextBox.Text = myDataRowView[2].ToString();
}
Thanks a lot,
JC
Does anybody know what the correct synthax for the following C# 2005 Espress code is? I keep getting an error message saying that "SelectedItem is a Property but is used like a Method"
private void mcMultiColumnComboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
System.Data.DataRowView myDataRowView = mcMultiColumnComboBox1.SelectedItem();
this.cultivarTextBox.Text = myDataRowView[2].ToString();
}
Thanks a lot,
JC