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

Threaded View

  1. #3
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    89

    Re: Accessing DataTables from Windows Form

    @dglienna: thanks. Just a small correction: the link is VB, C# is http://code.msdn.microsoft.com/cs2008samples
    I will look thru that; examples are always helpful.

    Anyway, may someone tell me what to do on this?
    the error I get is
    Code:
    ...: error CS0103: The name 'DataTable1' does not exist in the current context
    makes sense, due to the fact that those are different classes. Is there a way to declare them as "friendly class" or "friend assembly" or something like that?
    Any hints?
    Last edited by Wild Thing; November 9th, 2010 at 03:04 PM.
    prepare that the light at the end of your tunnel is just a freight train coming your way - metallica

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