G
Guest
I'm writing a Winforms program in VB/Dot Net 2.0. I have a datagridview with
3 unbound fields that are filled in by the CellFormatting event handler,
based on lookups using values of 3 other fields in the datagrid. Actually
nothing is specifically 'wrong' but I'm wondering if anyone could give me
some suggestions to improve it.
First of all, performance could be better although I suspect this is in part
due to a rather slow network. Any alternatives to or tweaks on
CellFormatting that I might be forgetting? The actual lookup code is fairly
simple.
Second, I wonder if I'm making assumptions based on the old grid. I would
like to hide the columns holding the lookup keys but I find if I set Visible
to False, the lookup fails. The best I can do is wipe out the header text
and set the column width to 2. Any ideas?
3 unbound fields that are filled in by the CellFormatting event handler,
based on lookups using values of 3 other fields in the datagrid. Actually
nothing is specifically 'wrong' but I'm wondering if anyone could give me
some suggestions to improve it.
First of all, performance could be better although I suspect this is in part
due to a rather slow network. Any alternatives to or tweaks on
CellFormatting that I might be forgetting? The actual lookup code is fairly
simple.
Second, I wonder if I'm making assumptions based on the old grid. I would
like to hide the columns holding the lookup keys but I find if I set Visible
to False, the lookup fails. The best I can do is wipe out the header text
and set the column width to 2. Any ideas?