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

<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>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:GridView ID="Grd_TamiratBaz" runat="server" AutoGenerateColumns="False" 
                    DataSourceID="LinqDTamirBaz" Width="100%" DataKeyNames="TamirID" 
                    onselectedindexchanged="Grd_TamiratBaz_SelectedIndexChanged">
                    <Columns>
                        <asp:CommandField HeaderText="انتخاب" ShowSelectButton="True">
                        <ItemStyle Width="50px" />
                        </asp:CommandField>
                        <asp:BoundField DataField="TamirID" HeaderText="کد درخواست" 
                            SortExpression="TamirID" />
                        <asp:BoundField DataField="PelakNumber" HeaderText="PelakNumber" 
                            SortExpression="PelakNumber" Visible="False" />
                        <asp:BoundField DataField="TamirNote" HeaderText="شرح درخواست" 
                            SortExpression="TamirNote" />
                        <asp:CheckBoxField DataField="ClosedBit" HeaderText="ClosedBit" 
                            SortExpression="ClosedBit" Visible="False" />
                        <asp:BoundField DataField="DateDarkhastSH" HeaderText="تاریخ درخواست" 
                            SortExpression="DateDarkhastSH" />
                        <asp:BoundField DataField="PelakAndCarName" HeaderText="مشخصات خودرو" 
                            SortExpression="PelakAndCarName" />
                        <asp:BoundField DataField="DriverUserName" HeaderText="DriverUserName" 
                            SortExpression="DriverUserName" Visible="False" />
                        <asp:BoundField DataField="Expr1" HeaderText="مشخصات درخواست کننده" 
                            SortExpression="Expr1" />
                        <asp:BoundField DataField="DateAnjamSh" HeaderText="تاریخ انجام تعمیر" 
                            SortExpression="DateAnjamSh" />
                        <asp:BoundField DataField="SaatDarkhast" HeaderText="ساعت انجام تعمیر" 
                            SortExpression="SaatDarkhast" />
                    </Columns>
                </asp:GridView>
                <asp:LinqDataSource ID="LinqDTamirBaz" runat="server" 
                    ContextTypeName="LSCTamiratDataContext" EnableDelete="True" EnableInsert="True" 
                    EnableUpdate="True" EntityTypeName="" TableName="xtblTamiratBazs">
                </asp:LinqDataSource>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

