Conversion Calculator Code
The Conversion Calculator is a ASP.NET 4.8 Framework, C# web forms application. It utilizes C# for server side actions that needs to be applied before page rendering such as SQL Server data retrieval. JavaScript is implemented for client side actions such as drop-down item population based on other selected choices from user input after the page is loaded. This project also uses a popular framework package called Json.NET developed by Newtonsoft to create JSON data to be used within the JavaScript code.
The Web Form (ASPX): ConversionCalc.aspx
The Web Form Code (ASPX.CS): ConversionCalc.aspx.cs
The JavaScript (JS): ConversionCalc.js
The Cascading Style Sheet (CSS): ConversionCalc.css
The Database
- Tables
The ConvCalcs (Conversion Calculators) table contains information about each calculator available to the form app.
The ConvCalcs_Options (Conversion Calculators Options) table contains information about each calculator's
drop down options available to the form app.
- Views
The v_ConvCalcs (Conversion Calculators View) combines all the relevant information needed by the form app.