Giter VIP home page Giter VIP logo

vb-script-sql's Introduction

CRUD Application: ASP Classic and SQLite Project

Overview

This project is a basic web application that demonstrates the integration of VBScript with SQL. It includes ASP pages for CRUD operations and a SQLite database.

Demo:

demo

File Structure

  • add.asp: Handles adding new entries to the database.
  • company.db: SQLite database file.
  • default.asp: Main page displaying the data.
  • delete.asp: Handles deletion of entries.
  • edit.asp: Handles editing existing entries.
  • init.sql: SQL script to initialize the database schema.
  • README.md: Basic readme file.
  • styles.css: Stylesheet for the web application.
  • web.config: Configuration file for the web application.

Getting Started

  1. Setup Environment:

    • Ensure you have a web server supporting ASP (e.g., IIS).
    • SQLite should be installed if not included in your environment.
  2. Database Initialization:

    • Run init.sql to set up the initial database schema. This script creates the necessary tables.
  3. Deploy Application:

    • Place the files in the web root directory of your server.
    • Ensure the database file company.db is writable by the web server process.

CRUD Operations

  • Add (add.asp): Form to input new data. Submits to add.asp for processing.
  • Edit (edit.asp): Form pre-filled with existing data. Submits to edit.asp for updating the entry.
  • Delete (delete.asp): Processes deletion of entries.
  • Display (default.asp): Lists all data entries from the database.

Configuration

  • web.config: Contains necessary configurations for running the ASP application. Ensure this file is correctly set up to handle your environment specifics.

Styles and Presentation

  • styles.css: Customize the appearance of the web application. Modify this file to change the look and feel.

Notes

  • ODBC Driver Installation:

  • Check System DSN:

    • run | control admintools
    • ODBC Data Sources (64-bit)
    • System DSN

vb-script-sql's People

Contributors

s4m8 avatar

Watchers

 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.