Good afternoon,

I want to provide some autofilling functionality for a Windows Forms 
application I am writing, in particular, filling address fields based on an 
entered Zip code. The data is all stored in a typed DataSet, which is returned 
from a data layer object. I can do the autofilling from the UI, but this data 
object is used in a number of different places, for a number of different 
applications. So, I want to hook up all the business logic (autofill, 
validation, etc) to the DataTable, with the validation done on a different 
thread. The ColumnChanging and RowChanging events work perfectly, and I create 
a new System.Threading.Timer to handle the delay so that validation after a 
100ms pause after the last update. 

The problem that I am having is that when I change values in the DataTable for 
the autofilling/validation, the updates don't always show up in the UI. The UI 
is binding to the DataTable using a BindingSource. Is there some way I can 
force an update from the DataTable? Or is this a problem with multiple threads 
making changes to the DataSet?

Thanks,
Erick

Reply via email to