Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Access97 connection

Access97 connection

Scheduled Pinned Locked Moved C#
helpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    panalprasad
    wrote on last edited by
    #1

    I am using OleDBConnection to connect Access97 file. While connecting using wizard and clicking on testconnection button it shows an error "MSysAccounts table cannot open" How can i connect to Access97 by OleDbConnection Thanks In advance Panal

    K 1 Reply Last reply
    0
    • P panalprasad

      I am using OleDBConnection to connect Access97 file. While connecting using wizard and clicking on testconnection button it shows an error "MSysAccounts table cannot open" How can i connect to Access97 by OleDbConnection Thanks In advance Panal

      K Offline
      K Offline
      Kayess Tech
      wrote on last edited by
      #2

      string ms_connection = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;User Id=admin;Password=;"; OleDbConnection mc_connection = new OleDbConnection(ms_connection); string ms_sql = "select * from table"; OleDbCommand mc_command = new OleDbCommand(ms_sql, mc_connection); OleDbDataReader rReader = mc_command.ExecuteReader(); rReader.Read(); or words to that effect Web design and hosting http://www.kayess.com.au -- modified at 8:15 Friday 28th April, 2006

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups