Hello,
if I add a ComboBox to a form via the designer and insert the text for
items, then these strings are fetched from the resource file:
// designer generated code
myComboBox.Items.AddRange(new object[]{
resources.GetString("myComboBox.Items"),
resources.GetString("myComboBox.Items1")});
If I do the same with a DataGridViewComboBoxColumn, the strings for the
items are directly in the code:
// designer generated code
myDGVComboBoxColumn.Items.AddRange(new object[]{
"Entry 1",
"Entry 2"});
What should I do that the item strings for the
DataGridViewComboBoxColumn are also fetched from the resource file?
Greetings, Jens
Kevin Spencer - 01 Apr 2006 16:30 GMT
myDGVComboBoxColumn.Items.AddRange(new object[]{
resources.GetString("myComboBox.Items"),
resources.GetString("myComboBox.Items1")});

Signature
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Show me your certification without works,
and I'll show my certification
*by* my works.
> Hello,
>
[quoted text clipped - 18 lines]
>
> Greetings, Jens