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

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" 
        DataKeyNames="ID" DataSourceID="AccessDataSource1" EnableModelValidation="True" 
        ForeColor="#333333" GridLines="None" Width="100%">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
            <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" 
                ReadOnly="True" SortExpression="ID" />
            <asp:BoundField DataField="Saat1" HeaderText="Saat1" SortExpression="Saat1" />
            <asp:BoundField DataField="Saat2" HeaderText="Saat2" SortExpression="Saat2" />
            <asp:BoundField DataField="Adi" HeaderText="Adi" SortExpression="Adi" />
            <asp:BoundField DataField="Aciklama" HeaderText="Aciklama" 
                SortExpression="Aciklama" />
            <asp:BoundField DataField="Tarih2" HeaderText="Tarih2" 
                SortExpression="Tarih2" />
            <asp:BoundField DataField="Tarih" HeaderText="Tarih" SortExpression="Tarih" />
            <asp:BoundField DataField="Renk" HeaderText="Renk" SortExpression="Renk" />
            <asp:BoundField DataField="Ekleyen" HeaderText="Ekleyen" 
                SortExpression="Ekleyen" />
        </Columns>
        <EditRowStyle BackColor="#7C6F57" />
        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#E3EAEB" />
        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
    </asp:GridView>
    <asp:AccessDataSource ID="AccessDataSource1" runat="server" 
        ConflictDetection="CompareAllValues" DataFile="~/App_Data/BSoylu.mdb" 
        DeleteCommand="DELETE FROM [Veriler] WHERE [ID] = ?" 
        InsertCommand="INSERT INTO [Veriler] ([ID], [Saat1], [Saat2], [Adi], [Aciklama], [Tarih2], [Tarih], [Renk], [Ekleyen]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)" 
        OldValuesParameterFormatString="original_{0}" 
        SelectCommand="SELECT * FROM [Veriler]" 
        UpdateCommand="UPDATE [Veriler] SET [Saat1] = ?, [Saat2] = ?, [Adi] = ?, [Aciklama] = ?, [Tarih2] = ?, [Tarih] = ?, [Renk] = ?, [Ekleyen] = ? WHERE [ID] = ? AND (([Saat1] = ?) OR ([Saat1] IS NULL AND ? IS NULL)) AND (([Saat2] = ?) OR ([Saat2] IS NULL AND ? IS NULL)) AND (([Adi] = ?) OR ([Adi] IS NULL AND ? IS NULL)) AND (([Aciklama] = ?) OR ([Aciklama] IS NULL AND ? IS NULL)) AND (([Tarih2] = ?) OR ([Tarih2] IS NULL AND ? IS NULL)) AND (([Tarih] = ?) OR ([Tarih] IS NULL AND ? IS NULL)) AND (([Renk] = ?) OR ([Renk] IS NULL AND ? IS NULL)) AND (([Ekleyen] = ?) OR ([Ekleyen] IS NULL AND ? IS NULL))">
        <DeleteParameters>
            <asp:Parameter Name="original_ID" Type="Int32" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="ID" Type="Int32" />
            <asp:Parameter Name="Saat1" Type="String" />
            <asp:Parameter Name="Saat2" Type="String" />
            <asp:Parameter Name="Adi" Type="String" />
            <asp:Parameter Name="Aciklama" Type="String" />
            <asp:Parameter Name="Tarih2" Type="String" />
            <asp:Parameter Name="Tarih" Type="String" />
            <asp:Parameter Name="Renk" Type="String" />
            <asp:Parameter Name="Ekleyen" Type="String" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="Saat1" Type="String" />
            <asp:Parameter Name="Saat2" Type="String" />
            <asp:Parameter Name="Adi" Type="String" />
            <asp:Parameter Name="Aciklama" Type="String" />
            <asp:Parameter Name="Tarih2" Type="String" />
            <asp:Parameter Name="Tarih" Type="String" />
            <asp:Parameter Name="Renk" Type="String" />
            <asp:Parameter Name="Ekleyen" Type="String" />
            <asp:Parameter Name="original_ID" Type="Int32" />
            <asp:Parameter Name="original_Saat1" Type="String" />
            <asp:Parameter Name="original_Saat1" Type="String" />
            <asp:Parameter Name="original_Saat2" Type="String" />
            <asp:Parameter Name="original_Saat2" Type="String" />
            <asp:Parameter Name="original_Adi" Type="String" />
            <asp:Parameter Name="original_Adi" Type="String" />
            <asp:Parameter Name="original_Aciklama" Type="String" />
            <asp:Parameter Name="original_Aciklama" Type="String" />
            <asp:Parameter Name="original_Tarih2" Type="String" />
            <asp:Parameter Name="original_Tarih2" Type="String" />
            <asp:Parameter Name="original_Tarih" Type="String" />
            <asp:Parameter Name="original_Tarih" Type="String" />
            <asp:Parameter Name="original_Renk" Type="String" />
            <asp:Parameter Name="original_Renk" Type="String" />
            <asp:Parameter Name="original_Ekleyen" Type="String" />
            <asp:Parameter Name="original_Ekleyen" Type="String" />
        </UpdateParameters>
    </asp:AccessDataSource>
</asp:Content>

