SQLite external library newbie question

Discussion in 'Questions (Windows Mobile)' started by JamesC, May 28, 2008.

  1. JamesC

    JamesC Member Licensed User

    I'm attempting to use external libraries for the first time. Following the main help file instructions for external libraries I've added System.Data.SQLite.DLL for desktop and device using Tools/Components. Next I used Tools/Add Object to add SQLiteCommand as Cmd, SQLiteConnection as Con, and SQLiteDataReader as Reader. Finally to Initialise the first two objects I added to my code Cmd.New1 and Con.New1. However when I type "Reader." the pop-up list doesn't show a "New" method. So what do I use?

    Thanks

    JamesC
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You should not add System.Data.SQLite.dll, instead you should add SQLDesktop and SQLDevice.
    If you are using V6.30 then the right native library (System.Data.SQLite.dll) will be copied when you compile your application.
     
  3. JamesC

    JamesC Member Licensed User

    Thanks

    Thanks Erel, that looks a lot more manageable!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice