Object Datasource

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Diarmuid

    #1

    Object Datasource

    I'm trying a sample from a book, but I can't get it to work fully. My Create
    datasource sees my class fine. When I drag my Computer Class onto the form,
    in datagridview format, it looks fine in design. But when I run it, theres
    no data in the grid. Any suggestions? Or an example, so I can see where I'm
    going wrong.
    Thanks
    Diarmuid


  • Diarmuid

    #2
    Re: Object Datasource

    Its ok, I figured it out. I need to refresh the datasource after I create
    the Computers array. As below.
    Me.ComputerBind ingSource.DataS ource = Computers


    "Diarmuid" <diarmuid@deads pam.com> wrote in message
    news:%23Xb%2374 7tFHA.3740@TK2M SFTNGP14.phx.gb l...[color=blue]
    > I'm trying a sample from a book, but I can't get it to work fully. My
    > Create datasource sees my class fine. When I drag my Computer Class onto
    > the form, in datagridview format, it looks fine in design. But when I run
    > it, theres no data in the grid. Any suggestions? Or an example, so I can
    > see where I'm going wrong.
    > Thanks
    > Diarmuid
    >[/color]


    Comment

    Working...