C
coco343
Hello,
I'm using a datagridview with an inner dropdownlist for a column.
The datasource for the gridview and the dropdrownlist is a object,
with inner collection for the dropdrownlist.
When i change the datasource of both and i clear the binding of the
gridview, i call GC.Collect(), to clear my local cache. But the object
is not collected, it seem there is still a reference to it, from the
dropdownlist ...
I didn't find any databinding clear, and setting datasource to
nothing, didn't change anything.
Any idea ?
Thanks
Decco
I'm using a datagridview with an inner dropdownlist for a column.
The datasource for the gridview and the dropdrownlist is a object,
with inner collection for the dropdrownlist.
When i change the datasource of both and i clear the binding of the
gridview, i call GC.Collect(), to clear my local cache. But the object
is not collected, it seem there is still a reference to it, from the
dropdownlist ...
I didn't find any databinding clear, and setting datasource to
nothing, didn't change anything.
Any idea ?
Thanks
Decco