<%@ Page Language="c#" masterpagefile="~/masterpage.master" Inherits="Microsoft.Samples.SqlServer.ReviewAdd" CodeFile="ReviewAdd.aspx.cs" %>

<asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="server">
<!-- =====================================================================

  File:      ReviewAdd.aspx for Adventure Works Cycles Storefront Sample
  Summary:   Collects user comments about a product and saves them
  Date:	     June 16, 2003

=====================================================================

  This file is part of the Microsoft SQL Server Code Samples.
  Copyright (C) Microsoft Corporation.  All rights reserved.

This source code is intended only as a supplement to Microsoft
Development Tools and/or on-line documentation.  See these other
materials for detailed information regarding Microsoft code samples.

THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.

======================================================= -->

<table cellspacing="0" cellpadding="0" width="100%" border="0">
    <tr>
        <td class="ContentHead">
            <img align="left" height="32" width="60" src="images/1x1.gif">Add Review -
            <asp:label id="ModelName" runat="server" />
            <br>
        </td>
    </tr>
</table>
<br>
<img align="left" width="92" src="Images/1x1.gif">
<table width="500" border="0">
    <tr valign="top">
        <td>
            <table border="0">
                <tr>
                    <td valign="top" width="550">
                        <span class="NormalBold">Name</span>
                        <br>
                        <asp:TextBox MaxLength="50" id="Name" runat="server" />
                        <asp:RequiredFieldValidator ControlToValidate="Name" Display="Dynamic" Font-Names="verdana" Font-Size="9pt" ErrorMessage="'Name' must not be left blank." runat="server" id=RequiredFieldValidator1></asp:RequiredFieldValidator>
                        <br>
                        <br>
                        <span class="NormalBold">Email</span>
                        <br>
                        <asp:TextBox id="Email" MaxLength="50" runat="server" />
                        <asp:RequiredFieldValidator ControlToValidate="Email" Display="Dynamic" Font-Names="verdana" Font-Size="9pt" ErrorMessage="'Email' must not be left blank." runat="server" id=RequiredFieldValidator2></asp:RequiredFieldValidator>
                        <br>
                        <br>
                        <span class="NormalBold">Rating</span>
                        <br>
                        <br>
                        <asp:RadioButton ID="Rating5" Checked="true" GroupName="Rating" Text=" "
                         runat="server" />
                        <img src="Images/reviewrating5.gif">
                        <br />
                        <asp:RadioButton ID="Rating4" Checked="false" GroupName="Rating" Text=" "
                         runat="server" />
                        <img src="Images/reviewrating4.gif">
                        <br />
                        <asp:RadioButton ID="Rating3" Checked="false" GroupName="Rating" Text=" "
                         runat="server" />
                        <img src="Images/reviewrating3.gif">
                        <br />
                        <asp:RadioButton ID="Rating2" Checked="false" GroupName="Rating" Text=" "
                         runat="server" />
                        <img src="Images/reviewrating2.gif">
                        <br />
                        <asp:RadioButton ID="Rating1" Checked="false" GroupName="Rating" Text=" "
                         runat="server" />
                        <img src="Images/reviewrating1.gif">
<!--
                       <asp:RadioButtonList ID="Rating" runat="server">
                            <asp:ListItem text="Five" value="5" selected="True">
                            
                                <img src="Images/reviewrating5.gif"></asp:ListItem>
                            <asp:ListItem text="Four" value="4">
                                <img src="Images/reviewrating4.gif"></asp:ListItem>
                            <asp:ListItem text="Three" value="3">
                                <img src="Images/reviewrating3.gif"></asp:ListItem>
                            <asp:ListItem text="Two" value="2">
                                <img src="Images/reviewrating2.gif"></asp:ListItem>
                            <asp:ListItem text="One" value="1">
                                <img src="Images/reviewrating1.gif"></asp:ListItem>
                        </asp:RadioButtonList>
 -->
                    </td>
                </tr>
            </table>
            <br>
            <br>
            <span class="NormalBold">Comments</span>
            <br>
            <asp:TextBox id="Comment" textmode="multiline" MaxLength="3850" rows="7" columns="60" runat="server" />
            <asp:RequiredFieldValidator ControlToValidate="Comment" Display="Dynamic" Font-Names="verdana" Font-Size="9pt" ErrorMessage="'Comment' must not be left blank." runat="server" id=RequiredFieldValidator3></asp:RequiredFieldValidator>
            <br>
            <br>
            <asp:ImageButton ImageURL="images/submit.gif" runat="server" id=ReviewAddButton />
            <br>
            <br>
            <br>
        </td>
    </tr>
</table>
</asp:content>