Using A Flexgrid In A User Control


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Using A Flexgrid In A User Control

  1. #1
    DeLeon Thomas Guest

    Using A Flexgrid In A User Control

    I have placed a flexgrid in a user control. I then placed the user
    control on a form. Now how do I pass the adodc connection to the
    flexgrid through the user control and then have the flexgrid update? I
    need the grid to show all the records and fields.

    Or I guess I should ask: How do I expose the DataSource propery of the
    flexgrid which is inside my user control to the adodc control on the
    form?

    Thanks,
    DeLeon Thomas
    dt1@deleonthomas.com

  2. #2
    Arthur Wood Guest

    Re: Using A Flexgrid In A User Control


    Deleon,
    You will have to make the adodc connection a property of the User Control,
    and then in the code for the user control connect it to the flexgrid.

    Arthur Wood


    DeLeon Thomas <dt1@deleonthomas.com> wrote:
    >I have placed a flexgrid in a user control. I then placed the user
    >control on a form. Now how do I pass the adodc connection to the
    >flexgrid through the user control and then have the flexgrid update? I
    >need the grid to show all the records and fields.
    >
    >Or I guess I should ask: How do I expose the DataSource propery of the
    >flexgrid which is inside my user control to the adodc control on the
    >form?
    >
    >Thanks,
    >DeLeon Thomas
    >dt1@deleonthomas.com



  3. #3
    DeLeon Thomas Guest

    Re: Using A Flexgrid In A User Control

    Thank you for your response but it seems the connection in my brain is
    also not working. I know how to construct property let and get
    procedures but could you please fill in the middle. For instance is
    the procedure dimed as a connection or a datasource. And how do I
    write the code to make the flexgrid link up and show the data.

    Thanks again,
    DeLeon

    On 12 Jan 2001 05:13:16 -0800, "Arthur Wood" <wooda@saic-trsc.com>
    wrote:

    >
    >Deleon,
    > You will have to make the adodc connection a property of the User Control,
    >and then in the code for the user control connect it to the flexgrid.
    >
    >Arthur Wood
    >
    >
    >DeLeon Thomas <dt1@deleonthomas.com> wrote:
    >>I have placed a flexgrid in a user control. I then placed the user
    >>control on a form. Now how do I pass the adodc connection to the
    >>flexgrid through the user control and then have the flexgrid update? I
    >>need the grid to show all the records and fields.
    >>
    >>Or I guess I should ask: How do I expose the DataSource propery of the
    >>flexgrid which is inside my user control to the adodc control on the
    >>form?
    >>
    >>Thanks,
    >>DeLeon Thomas
    >>dt1@deleonthomas.com



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center