How to connect sqlserverCE database in vb.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sabitawoonna
    New Member
    • Oct 2009
    • 2

    How to connect sqlserverCE database in vb.net

    I developed 1 new project i.e workstation project.I have one sqlserverce database i.e workstationProj ect.sdf.In this database i have 2 tables i.e demolist,userin formation.
    In demolist i have 2 columns i.e domainid,domain name.
    In vb.net form i found Currentuser information.inf ormation coming like this ken\u387901.ken is the domain in the domain list table.i want the following code.
    1)how to find out ken is domain list table or not.
    2how to use demolist table in vb.net code.
  • MrMancunian
    Recognized Expert Contributor
    • Jul 2008
    • 569

    #2
    Right, this is hardly readable, but I'll try. Please use spaces and capitals next time you type something here. And i is a variable. If you want to refer to yourself, please use I (Yes, that capital does make a difference!) First thing I see is that the question in your title (how to connect...) doesn't match your questions 1 and 2.

    What have you done so far? Do you have any piece of code already? The "i want the following code" doesn't work here. We're not just going to give you code. Let us know how we can assist you (except writing your code).

    Steven

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      I found this article on Building Application for Desktop and Tablet PCs (SQL Server Compact Edition) using the MSDN library. This resource should get you pointed in the right direction.

      The MSDN Library is an extremely useful resource for .NET. I recommend bookmarking the MSDN Library and using it as your primary resource when developing in .NET.

      Please take the time to research the problem before you post your question. The experts here are more than willing to help you with a specific problem but you have to do your part to learn the basics. Please take the time to read over the posting guidelines specifically the section on Before you post your question.

      -Frinny

      Comment

      Working...