c# 4.0 - Excel ListObject Update When Source Changes -


i have excel worksheet listobject on it. have bound list when update element in list, listobject not refresh unless call refreshdatarow.

i have tried using bindingsource , setting datasource of bindingsource list still not reflect changes listobject.

is there method can bind collection listobject , have update on-screen when change element in underlying collection in code (without calling refreshdatarow).

regards alan

you might want check this msdn article, says:

the listobject updated automatically when bound data source, such datatable, raises events when data changes. if bind listobject data source not raise events when data changes, must call refreshdatarow or refreshdatarows method update listobject.

so should provide source meeting requirements.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -