CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: datagrid object

  1. #1
    Join Date
    Oct 1999
    Posts
    1

    datagrid object

    Within Visual Basic code, how do I set the DataSource property of a datagrid control to a recordset that has already been created?


  2. #2
    Join Date
    May 1999
    Location
    Bogotá, Colombia
    Posts
    37

    Re: datagrid object

    I've not worked with DGOs much but if they are like other data bound controls then you would set the source at run time like this:


    set DataGrid1.DataSource = DataSource1




    Let me know if that works or not.

    Chao

    Andrew


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured