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. Connection String

Connection String

Scheduled Pinned Locked Moved C#
databasehelpquestion
5 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.
  • M Offline
    M Offline
    Mazdak
    wrote on last edited by
    #1

    I wonder if anybody could give me an advise on how a OleDbDataAdapter with Microsoft.Jet.OLEDB.4.0 provider can open a database with password !!! a sample string would really help ! thanks. :) Mazy "The path you tread is narrow and the drop is shear and very high, The ravens all are watching from a vantage point near by, Apprehension creeping like a choo-train uo your spine, Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd

    N 1 Reply Last reply
    0
    • M Mazdak

      I wonder if anybody could give me an advise on how a OleDbDataAdapter with Microsoft.Jet.OLEDB.4.0 provider can open a database with password !!! a sample string would really help ! thanks. :) Mazy "The path you tread is narrow and the drop is shear and very high, The ravens all are watching from a vantage point near by, Apprehension creeping like a choo-train uo your spine, Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd

      N Offline
      N Offline
      Neil Van Note
      wrote on last edited by
      #2

      Mazdak wrote: a sample string would really help Does something like the following do anything for you? "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=f:\data\SomeData.mdb;User ID=SomeUser;Password=SomeUsersPassword" Regards...

      M 1 Reply Last reply
      0
      • N Neil Van Note

        Mazdak wrote: a sample string would really help Does something like the following do anything for you? "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=f:\data\SomeData.mdb;User ID=SomeUser;Password=SomeUsersPassword" Regards...

        M Offline
        M Offline
        Mazdak
        wrote on last edited by
        #3

        Thanks. I use this string but it caused run time error: connString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=..\\..\\Tennis.mdb;User ID=Admin;Password=mazy"; Any suggestion? :confused: Mazy "The path you tread is narrow and the drop is shear and very high, The ravens all are watching from a vantage point near by, Apprehension creeping like a choo-train uo your spine, Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd

        N 1 Reply Last reply
        0
        • M Mazdak

          Thanks. I use this string but it caused run time error: connString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=..\\..\\Tennis.mdb;User ID=Admin;Password=mazy"; Any suggestion? :confused: Mazy "The path you tread is narrow and the drop is shear and very high, The ravens all are watching from a vantage point near by, Apprehension creeping like a choo-train uo your spine, Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd

          N Offline
          N Offline
          Neil Van Note
          wrote on last edited by
          #4

          Nope, Tell you the truth, It's been a while since I have used OLEDB under the JET engines. I have been using the MSDE version of SQL Server for development. What is the runtime error? Regards

          M 1 Reply Last reply
          0
          • N Neil Van Note

            Nope, Tell you the truth, It's been a while since I have used OLEDB under the JET engines. I have been using the MSDE version of SQL Server for development. What is the runtime error? Regards

            M Offline
            M Offline
            Mazdak
            wrote on last edited by
            #5

            Neil Van Note wrote: What is the runtime error? When the messagebox appear,in the place of error message there is no message and its empyt. :( :confused: Mazy "The path you tread is narrow and the drop is shear and very high, The ravens all are watching from a vantage point near by, Apprehension creeping like a choo-train uo your spine, Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd

            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