Results 1 to 2 of 2

Thread: [2008] Access DB issues with 2008

  1. #1

    Thread Starter
    Fanatic Member Seraph's Avatar
    Join Date
    Jul 2007
    Posts
    959

    [2008] Access DB issues with 2008

    OK, so I earned how to connect a DB in school using 2003.
    If I'm not mistaken, things are done totally different in 2008?

    This was two years ago, so I forget what I did, and I lost the code accidentally, but I had it to where a DataGridView was displaying queries to the table.
    For some reason, I can't figure out how to do this in 2008.

    Can someone please tell me exactly what I need to be looking at online that will help me understand this? Like the different parts I should be reviewing?

    I can't find any good references for starting from scratch, and I'm not 100% sure what I need to start looking up to get going with this.
    Last edited by Seraph; Oct 30th, 2008 at 03:08 PM.

    Visual Studio 2010 Professional | .NET Framework 4.0 | Windows 7

    SERYSOFT.COM :: SysPad - Folder Management Program - Please comment HERE if you find this program useful, have ideas, or know of any bugs.
    [Very useful for IT/DP departments where many folders are consistently accessed. Also contains a scratchpad window for quick access to notes.]

    [.NET and MySQL Quick Guide]

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: [2008] Access DB issues with 2008

    Well the first thing you need to do is establish what type of database you are trying to access - if its a Microsoft Access database (MDB) then you need to look into using the ODBCClient class but if its SQL server then you need to look into how to use the SQLClient class.
    The first thing you will need to do is visit www.connectionstrings.com and find the correct connection string for the type of database you are accessing and set the ConnectionString property of your SQLclient/ODBCClient class accordingly.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


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