"DatagridView is not a member of form" error
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: "DatagridView is not a member of form" error

  1. #1
    Join Date
    Jun 2009
    Posts
    14

    "DatagridView is not a member of form" error

    Hello all,

    using VB2008 Express; query to access2007

    I made the fist portion of my project querying the db using a DGV (took me forever). Now I am making a small dialog box to search (not filter) for specific data within the dataset. I get the same error on all the dataset, tableadapter and DGV names on the form that say "..... not a member of dialogform".... any suggestions.

    Thanks for your help

  2. #2
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,961

    Re: "DatagridView is not a member of form" error

    Pretty hard to guess what code you are using. Why not POST SOME of it? Explain how you got to where you are, and we'll see what we can do to help.
    Code:
    ' Use Code Tags like this
    ' so that lines of code stay lined up
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,090

    Re: "DatagridView is not a member of form" error

    When you get that sort of error it usually means that something has not been declared in that classed

Tags for this Thread

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center