Professional Samples


ASP.NET Code Samples


This example displays the use of regular expressions to enter a valid email address
checks if there is string values before and after the "@" sign and checks there is a domain (IE: .com) at the end of the string



When updating a DataGridView i take the values from the text boxes in the DGV
and call a function containing the stored procedure to update the Database with the new values



Image for the DataGridView Described above:



After a user has finished applying for a permit, a email message is sent confirming the application and displaying the information back to the user that was entered also attaches files based on the route they take if they are available



Image for the above code sample:



A sample stored procedure which looks up commodity information based on the CommodityID sent to the function




Javascript Code Samples


Runs a check for every Road that is available and makes sure the user input is between 1 and 5
For every road that is in error, a message is displayed and the route segments that are in error are highlighted red



Checks the entire route segment for errors -
Checks that Highway is in the highArray (so it exists), Makes sure a direction is selected, Checks that KMs are entered if highway is not DR (District Road)
If Error occurs a message is displayed and the route segments that are in error are highlighted



Image for the above code sample:



Function to hide or display various elements based on the elements ID




Sample Images of my ASP.NET work


Image of the online permit application, collects the origin/destination LSD or allows the user to search for the location by name IE: Red Deer
also collects what kind of permit the user is requesting and the Unit No.
After the location is entered any advisories that are available for that area are displayed to the user, along with any blanket bans
this is contained outside the IFrame and allows the user to enter any addictional information and check the bans as they progress through the program




Alows the user to enter 1 or more commodites for the unit and search for a commodity type



Alows the user to select Vehicle Configuration based on power unit and any trailers/jeeps that are connected
or allows a quick unit entry to build the unit if the unit code is already known



Displays All the unit registration info, and allows the user to edit Registration



Displays All the unit info, and allows the user to edit



A Sample Crystal Report that displays various fees that a company may owe