Results 1 to 4 of 4

Thread: ODBC help needed?

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    56

    ODBC help needed?

    hey guys.when i creat a new connection with mysql odbc,that meens that when i export the application the connection is done.right?

    so.how to i call that connection?

    if i make a button populate data..

    and do i have to make a databse in the application the have the 2 databses sinc to update?or i can insert directly in the mysql database with the odbc?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: ODBC help needed?

    I'd suggest not using ODBC if you can get away with it. If you want to access MySQL from VB.NET then I'd suggest downloading the Connector/Net ADO.NET provider from the MySQL web site. You can then install the same thing on any target machine or just deploy MySql.Data.dll with your app.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    56

    Re: ODBC help needed?

    true.whats the main concern or odbc?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: ODBC help needed?

    ODBC is old and essentially a "lowest common denominator" when it comes to data sources. If there is a specific way to access your data source then that is preferable to ODBC.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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