HighTechTalks DotNet Forums  

Issues with refresh of table adapater

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss Issues with refresh of table adapater in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
bradbritton
 
Posts: n/a

Default Issues with refresh of table adapater - 02-21-2006 , 01:50 PM






I have a routine that updates a table from input in text boxes on a form. For
the most part it works, but after I update the data that I pull (record
pulled is defined from combo box selection) It does not show the updated data
in the form, unless I restart the app. Is there a built in method for
refreshing after an update??

Thanks

Brad

Reply With Quote
  #2  
Old   
pvdg42
 
Posts: n/a

Default Re: Issues with refresh of table adapater - 02-26-2006 , 09:41 AM







"bradbritton" <bradbritton (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have a routine that updates a table from input in text boxes on a form.
For
the most part it works, but after I update the data that I pull (record
pulled is defined from combo box selection) It does not show the updated
data
in the form, unless I restart the app. Is there a built in method for
refreshing after an update??

Thanks

Brad
Are you calling AcceptChanges() after Update()? If so, are your controls
bound or unbound? If unbound, you need to do it in code. If bound,
AcceptChanges should do the trick.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.