Создание веб-приложения, сочетающего в себе проектирование и создание баз данных, работу со сторонними форматами данных, программирование в NET и веб-разработку, страница 44

                                        </td>

                                    </tr>

                                    <tr>

                                        <td class="label">User Name:</td>

                                    </tr>

                                    <tr>

                                        <td class="validator">

                                            <asp:TextBox ID="UserName" runat="server" CssClass="textbox_reg"></asp:TextBox>

                          <asp:RequiredFieldValidator ID="UserNameRequired" runat="server"

                        ControlToValidate="UserName" ErrorMessage="User Name is required."

                                                ToolTip="User Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>

                                        </td>

                                    </tr>

                                    <tr>

               <td class="label" style="padding-bottom: 10px;">Password:</td>

                                    </tr>

                                    <tr>

                                        <td class="validator" >

                                            <p><asp:CompareValidator ID="CompareValidator2" runat="server" Font-Size="10px"

                                            ControlToCompare="Password" ControlToValidate="ConfirmPassword"

                                            Display="Dynamic"

        ErrorMessage="Пароли не совпадают."

ValidationGroup="CreateUserWizard1"></asp:CompareValidator></p>

                                            <asp:TextBox ID="Password" runat="server" TextMode="Password" CssClass="textbox_reg"></asp:TextBox>

                           <asp:RequiredFieldValidator ID="PasswordRequired" runat="server"

                             ControlToValidate="Password" ErrorMessage="Password is required."

        ToolTip="Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>

                                        </td>

                                    </tr>

                                    <tr>

                    <td class="label" style="padding-bottom: 10px;">Confirm Password:</td>

                                    </tr>

                                    <tr>

                                        <td class="validator">

    <p><asp:CompareValidator ID="CompareValidator1" runat="server" Font-Size="10px"

          ControlToCompare="Password" ControlToValidate="ConfirmPassword"

                                            Display="Dynamic"

                                            ErrorMessage="Пароли не совпадают."

ValidationGroup="CreateUserWizard1"></asp:CompareValidator></p>

                                            <asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password" CssClass="textbox_reg"></asp:TextBox>

                                            <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server"

                                                ControlToValidate="ConfirmPassword"

                                                ErrorMessage="Confirm Password is required."