We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Refresh a datagrid that is bound to a Designer - DataEnvironment

CMHamrick
CMHamrick asked
on
Medium Priority
546 Views
Last Modified: 2013-12-25
Help!!!!!!!!!!

I have a DataGrid that is set up in this manner:

Datasource:      DataFEBCO_Systems
Datamember:    Current_Bids

I created the DataEnvironment using:   Add - More AxtiveX Designers - DataEnvironment
Then I created the DEConnection:   dataFEBCO_Database with a DECommand,     Current_Bids
So the tree to the data looks like this:
     DataFEBCO_Systems (DataEnvironment)
     dataFEBCO_Database(DEConnection)
     Current_Bids(DECommand)

Question:  How do I refresh the DataEnvironment, DEConnection, or DECommand - so that when I refresh the DataGrid, it will display the changes made to the database?
Need this ASAP!! - Thanks in advance :)
Comment
Watch Question

Senior .Net Consultant
CERTIFIED EXPERT
Top Expert 2016
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
... and one more reason not to use DE. :)

Leon
Éric MoreauSenior .Net Consultant
CERTIFIED EXPERT
Top Expert 2016

Commented:
Even if I'm not a fan of the DE, you would have the same problem using ADO objects!

You always need to refresh your ADO object before refreshing your GUI object!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.