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

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<fieldset dir="rtl"><legend>مشاهده جزئیات تعمیرات باز</legend>
    <table style="width:100%;">
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:GridView ID="Grd_OpenDetails" runat="server" AutoGenerateColumns="False" 
                    DataKeyNames="DetailID" DataSourceID="LinqDtShowOpenDlt" 
                    onselectedindexchanged="Grd_OpenDetails_SelectedIndexChanged" Width="100%">
                    <Columns>
                        <asp:BoundField DataField="DetailID" HeaderText="کد جزئیات تعمیر" 
                            SortExpression="DetailID" />
                        <asp:BoundField DataField="TamirID" HeaderText="کد تعمیر" 
                            SortExpression="TamirID" />
                        <asp:BoundField DataField="PelakNumber" HeaderText="شماره پلاک خودرو" 
                            SortExpression="PelakNumber" />
                        <asp:BoundField DataField="TamirNote" HeaderText="شرح درخواست تعمیر" 
                            SortExpression="TamirNote" />
                        <asp:BoundField DataField="DetailNote" HeaderText="جزئیات تعمیر" 
                            SortExpression="DetailNote" />
                        <asp:BoundField DataField="TotalCost" HeaderText="هزینه کل" 
                            SortExpression="TotalCost" />
                        <asp:BoundField DataField="DateAnjamSh" HeaderText="تاریخ انجام تعمیر" 
                            SortExpression="DateAnjamSh" />
                        <asp:BoundField DataField="SaatDarkhast" HeaderText="ساعت تعمیر" 
                            SortExpression="SaatDarkhast" />
                        <asp:CommandField HeaderText="تائید " ShowSelectButton="True" />
                    </Columns>
                </asp:GridView>
                <asp:LinqDataSource ID="LinqDtShowOpenDlt" runat="server" 
                    ContextTypeName="LSCTamiratDataContext" EnableDelete="True" EnableInsert="True" 
                    EnableUpdate="True" EntityTypeName="" OrderBy="DetailID" 
                    TableName="xtblShowOpenDetails">
                </asp:LinqDataSource>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </fieldset>
</asp:Content>

