This question has been answered by Expert on Jun 19, 2011. View Solution
posted a question
"#1 "I'm building a website using Visual Basic 2008, I need to add server side validation code to the frmPersonnel page. Currently, when the Submit button is pressed, the frmPersonnelVerified page is displayed. This is because the frmPersonnelVerified page is set as the Submit button's PostBackUrl property. Instead of having the page go directly to the frmPersonnelVerified page when the Submit button is pressed, I want to do some server side validation. If any of the validation rules fail, we will redisplay the frmPersonnel page with the fields in question highlighted in yellow with an error message displayed. So I need the C# Code to order to do this:
to perform server side validation in response to the submit button being clicked. Here are the business rules I want to enforce: Fields may not be empty or filled with spaces. If any field is empty, turn that field background color to yellow and add to/create an error message to be shown in the error label. The end date must be greater than the start date. If the end date is less than the start date, turn both date fields yellow and add to/create an error message to be shown in the error label. If all fields validate properly then the session state items should be set properly and the user should see the frmPersonnelVerified form with all the values displayed. You can use Andrew Lowe, Date of birth 07/01/1980 e-mail andresplats@yahoo.com

#2 Furthermore I need the c# code for the frmPersonnel page and add functionality to INSERT records into a database table and SELECT records for display to the user. We will create a typed dataset, a Data Layer class, several functions to access the data, and a connection to a database. We also will add a search form to allow the user to search records in the database and display the results of that search.

#3 Last I need the c# code to add transaction processing code to my website.

Attached I have two things the actual work that I have done so far which I labeled as "Lab 4" and also the instructions and some code that I have for each part #1, #2 and #3 which I labeled "Instructions for each part #1 #2 and #3" Which are both under a folder I named "Lab 4" Please help!!!"
Attachment Preview:
Expert answered the question
Dear Student,
============================================================
The code specified is not the part of the...  View Full Answer