How to make a photo smaller?
Providing a delayed autofill/validation for a DataTable
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > .Net Development > Providing a delayed autofill/validation­ for a DataTable 25 March 2006 01:15:19

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Providing a delayed autofill/validation­ for a DataTable

Erick Thompson 25 March 2006 01:15:19
 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.Ti­mer 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/validat­ion, 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
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > .Net Development > Providing a delayed autofill/validation­ for a DataTable 25 March 2006 01:15:19

see also:
redirect all to index.html
Virtual Host question
Problem building 1.3.33 dynamic on…
пройди тесты:
see also:
Please somebody help
Critical Thinking!!!!

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .