Explore BrainMass
Share

Explore BrainMass

    Software Coding and Design

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Create a database with a table called "tblMenu." This table has the following columns.

    ID -This is the Primary Key. It has a type of Autonumber.
    Font:- Text (Set this to unique value.)
    Add at least five fonts ("Arial", etc) to the "Font" column.

    Create a Visual Studio.NET 2005 web application with two aspx forms. Add a Menu control and a Label control to the form. Populate the Menu control with data stored in the "Font" column and display your name in the Label control. Write an event-handler that changes the font type in the Label control based on the menu-item selected by the user.

    The second form contains a TextBox control, a Button control, and event handlers that allow the user to add a new row to the database table. Use a RequiredFieldValidator control to verify the user entered a string in the TextBox control. Use Try...Catch blocks to display an error message if the user attempts to add a duplicate font to the database.

    © BrainMass Inc. brainmass.com October 9, 2019, 7:10 pm ad1c9bdddf
    https://brainmass.com/computer-science/web-design/software-coding-and-design-110281

    Solution Summary

    Software Coding and Design are featured.

    $2.19