Gender Height Weight Age Activity Calories Female 60 120 35 Sedentary 1553 Female 66 150 47 Lightly Active 1921 Male 72 165 24 Moderately Active 2860 Male 68 144 54 Very Active 2518 Male 76 180 32 Extra Active 3677 Here is an example of what your form should look like with one set of inputs: 3. You should also test that your input validation works correctly. Try leaving the height, weight, or age fields blank and verify that the correct error messages are displayed. Also try entering values that are too high or too low in these fields. Here is an example of what your form should look like with an invalid entry: 4. Capture a screenshot of the calculator after you click the Calculate Calorie Needs button with the following inputs, and paste it into a Word document: Gender Height Weight Age Activity Female 62 135 28 Moderately Active 5. Capture a second screen shot of the calculator after you click the Calculate Calorie Needs button with the height, weight, and age fields all blank, and paste it into the same Word document. 6. Capture a third screen shot of the calculator after you click the Calculate Calorie Needs button with the following (invalid) values for height, weight, and age, and paste it into the same Word document. Height Weight Age 42 600 50.5 7. Save the Word document containing your three screenshots as Your Name BIS450 Lab3 Screenshot.docx. (Make sure that the browser URL is visible in all your screen shots.) Submit this file to the Week 3 iLab Dropbox. BIS 450 DeVry Week 4 iLab 4 iLab 4 of 8: Food Information Guide Submit your assignment to the Dropbox located on the silver tab at the top of this page. (See Syllabus/”Due Dates for Assignments & Exams” for due dates.) i L A B O V E R V I E W Scenario/Summary You have been asked to add a Food Information Guide page to the Healthy Eating Web site. This feature will allow the user to search for a specific food, and will display the number of calories in that food. Dr. Dinewell tells you that calorie information for about 7,000 foods is available from the U.S. government in the form of a Microsoft Access database. You will create an ASP.NET Web form to allow the user to search for a food, and retrieve and display the calorie information for that food from a Microsoft Access database. Source of food data: US Department of Agriculture National Nutrient Database for Standard Reference (SR22), http://www.ars.usda.gov/Services/docs.htm?docid=18879 Deliverables 1. Microsoft Access database file (HealthyEating.mdb) uploaded to database folder on the Web server. 2. Food Information Web form (FoodInfo.aspx) added to the Healthy Eating Web site on the Web server. 3. Word document with screenshot of Food Information Web form displayed in browser (Your Name BIS450 Lab4 Screenshot.docx). Screenshot must show the complete browser window including the URL of the page.
Grading Rubric Criteria Points % Step 2: Upload Microsoft Access Database File (HealthyEating.mdb) • Database file uploaded to database folder on the Web server 2 8% Step 3: Create Food Information Guide Web Form (FoodInfo.aspx) • FoodInfo.aspx created in your web folder • Has standard page header, navigation menu, and page footer • Form title “Food Information Guide” in bold • Input controls: textbox for food • Button for Find Food Info • AccessDataSource control • GridView control 10 40% Step 4: Configure AccessDataSource Control • Connected to HealthyEating.mdb in database folder • Retrieves Food, Amount, and Calories columns from Foods table • Parameter query with LIKE operator bound to txtFood textbox 5 20% Step 5: Configure GridView Control • Bound to AccessDataSource control on form • Displays columns Food, Amount, Calories • Simple AutoFormat applied 5 20% Step 6: Test, Capture Screen Shot, and Submit (Student Name BIS450 Lab4 Screenshot.docx) • Word file submitted to Dropbox with screen shot of search results for “lobster” 3 12% Total 25 100% i L A B S T E P S PREPARATION 1. Download the HealthyEating.mdb Microsoft Access database file from Doc Sharing and save it in your working folder for this lab. 2. Using the Citrix remote lab: a. Follow the login instructions located in the iLab tab in Course Home. b. Upload the file you downloaded from Doc Sharing into your BIS450Labs folder on your Citrix drive. (You created this folder in Week 1). STEP 1: Open Web Site on the DeVry Web Server 1. Launch Microsoft Visual Studio 2010. You must use Visual Studio 2010 in the Citrix environment. 2. Pull down the File menu and select Open, then select Web Site. In the Open Web site dialog, select FTP Site in the left column. The connection information you used in the previous lab should be displayed: • Server: bisweb.devry.edu