View the step-by-step solution to: "#1 "I'm building a website using Visual Basic 2008, I need to add server side v...

This question was answered on Jun 19, 2011. View the Answer
"#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

#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!!!" - Preview not available
View the entire interaction

Dear Student, ============================================================ The code specified is not the part of the assignment... View the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors and customizable flashcards—available anywhere, anytime.


Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access or to earn money with our Marketplace.

    Browse Documents
  • 890,990,898

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
  • 890,990,898


    Browse existing sets or create your own using our digital flashcard system. A simple yet effective studying tool to help you earn the grade that you want!

    Browse Flashcards