Giter VIP home page Giter VIP logo

workingwithaccessdatabases's Introduction

Working with MS-Access in VB.NET

Although code samples provided here are performed with Microsoft Access databases by using patterns shown they provide a upscale to moving on to Microsoft SQL-Server databases.

These patterns will go against what a novice developer believes to be the correct path for interacting with data as they are not a simple approach to working with a database. Patterns presented in the code samples are intended for both best practices along with providing reusability between forms in one project or between similar projects that work with data centric solutions.

Currently there are three articles in the series which will expand shortly to include more common solutions working with Microsoft Access databases and upscaling to SQL-Server.

Part 1, Part 2 and Part 3.

  • Interfaces.
  • Factory listeners.
  • Base connection classes.
  • Base exceptions class.
  • Secure connections repository.
  • Adding records in batch.
  • Utilizing transactions.
  • Interacting with blob fields.
  • Working with data readers.
  • Master/Details relations.
  • CRUD operations.
  • DataGridView control considerations.
  • Data binding control considerations.
  • Database design.
  • Loading with BackGrounderWorker component.
  • Loading with Iterators and Async.
  • Searching.
  • Auto filtering component for DataGridView.
  • Query optimization for specific task.
  • Upscaling to SQL-Server.

Requires

Encryption notes

In this code sample MS-Access databases are encrypted. When working with your own database and connections fail, make sure to try the following.

  • Open Access in exclusive mode.
  • Under the file menu, options.
  • Find client settings.
  • At the bottom of settings.
  • Change Encryption Method at the bottom. Change to selection to Use Legacy Encryption.

Also there have been reports of encryption failing with passwords longer than 14 characters.

Special note

There are a few projects marked as for answering forum questions, these were added as they may be of assistance to others.

This one is not a code sample to follow as it's fragile, only good for a single user environment.

workingwithaccessdatabases's People

Contributors

karenpayneoregon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.