<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="LoginPage.aspx.cs" Inherits="LoginPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width:100%;" dir="rtl">
        <tr>
            <td>
                <asp:Label ID="Lbl_UserName" runat="server" Text="نام کاربری :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="Txt_UserName" runat="server" Width="150px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="Txt_UserName" ErrorMessage="نام کاربری را وارد نمایید" 
                    ValidationGroup="110">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Lbl_Password" runat="server" Text="کلمه عبور :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="Txt_Password" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="Txt_Password" ErrorMessage="کلمه عبور خود را وارد نمایید" 
                    ValidationGroup="110">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="Btn_Login" runat="server" onclick="Btn_Login_Click" Text="ورود" 
                    ValidationGroup="110" Width="60px" />
                <asp:Button ID="Btn_Refresh" runat="server" onclick="Btn_Refresh_Click" 
                    Text="بازنشانی" />
                <asp:Label ID="Lbl_Error" runat="server" Font-Bold="True" ForeColor="Red" 
                    Visible="False"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" 
                    ShowMessageBox="True" ValidationGroup="110" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

