Results 1 to 4 of 4

Thread: Visual C++ .NET 2003 Database Question

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    5

    Visual C++ .NET 2003 Database Question

    I need to build an application that will make projections and conduct analysis based on data I have assemblet into MS Access tables. This application needs to be stand alone and able to view, edit, delete, add, etc... records in grid views. While I know of SQL Server and MySQL, I don't know how to build the application so that it contains all of the needed databases (data files) and database technologies (i.e. OLE DB, ADO, or ODBC) with it. This way, it can install on any computer and doesn't need to have SQL server running on it and requires nothing but the user to install the application without having to adjust any settings. So, for example, say I am building a software that stores customer data, prices, and shipment totals, how do I manage that data in the application without requiring the customer to have SQL server, MySQL? Is there a way to just include the data files in some standard database format/technology within the application? I hope you can understand what I am trying to say.

    Any help you can provide would be greatly appreciated?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Visual C++ .NET 2003 Database Question

    Moved to C#

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Visual C++ .NET 2003 Database Question

    It sounds to me like you need to create Data Access Layer (DAL), probably in a seperate library. You would code the DAL so that it can communicate with any database, or at least any that you might be interested in. Your app will then deal with the DAL in a standard way regardless of the database, and you DAL will change the way it operates depending on the database. Here's some tips.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Visual C++ .NET 2003 Database Question

    You may also get some bits in this thread...
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

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