Datasource + .NET controls

Status
Not open for further replies.
S

Sebastien DErrico

Guest
I am using OpenEdge 10.2B and OpenEdge Architect and I did the following steps:

  • created a form.
  • added a .NET grid control and a button that I named gridCustomer and btnProcess.

  • created a temp table like this:

    DEFINE TEMP-TABLE ttCustomer
    FIELD CustNo AS CHARACTER FIELD Name AS CHARACTER FIELD City AS CHARACTER.


  • added an event ButtonClick event.

In this event, I am able to populate the temp-table but I could not assign it as a datasource like this:

ASSIGN gridCustomer:DataSource = THIS-OBJECT:ttCustomer.


I get the error message : could not locate element ttCustomer in class.

Is there an example or a documentation somewhere about how to populate a datasource of a .NET control?

Thank you very much! Sebastien

Continue reading...
 
Status
Not open for further replies.
Top