With the C1 Textbox, if I have an array of field names, I can do the following:
this.Controls["tb_" + ColName].Text = ColValues[i].ToString();
Is there a way to do the same thing with ComboBoxes? The following does not work:
this.Controls["cb_" + ColName].SelectedText = ColValues[i].ToString();
According to the error output, 'System.Windows.Forms.Control' does not contain a definition for 'SelectedText' and no extension method 'SelectedText' accepting a first argument of type 'System.Windows.Forms.Control' could be found (are you missing a using directive or an assembly reference?).
Any help would be much appreciated.
Thanks!
Joe