Results 1 to 4 of 4

Thread: Error: Object reference not set to an instance of an object

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    3

    Unhappy Error: Object reference not set to an instance of an object

    Hi,

    I'm trying to make a webapplication with a AS400-database.
    Connecting to the datebase is no problem. I can read and query it in the Server-Explorer. The moment I want to drag and drop a 'table' in the webapplication or windows-form I get the above error.
    Although I can query the database in the Server-explorer.

    I tested a connection with a Access-database which works perfect.
    No problem to make a webapplication or windowsform with an Access-database ...

    Can someone help me out here plzz???

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Error: Object reference not set to an instance of an object

    Do it through code instead of the drag-drop method.

    http://samples.gotdotnet.com/quickst...sOverview.aspx

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    3

    Thumbs up Re: Error: Object reference not set to an instance of an object

    Ty Mendhak,

    Can u give me the exact syntax to connect with ODBC??

    Greetings

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Error: Object reference not set to an instance of an object

    No, because I don't know what exactly you're looking to do. You can do a search on these forums though and you'll find lots of samples.

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