-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdosyalar.aspx
More file actions
42 lines (38 loc) · 2.09 KB
/
dosyalar.aspx
File metadata and controls
42 lines (38 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<%@ Page Title="" Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeFile="dosyalar.aspx.cs" Inherits="dosyalar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link href="stil/urunler/urunstil.css" rel="stylesheet" />
<link href="stil/urunler/tablo.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceGovde" Runat="Server">
<div class="urun">
<div class="tablo-bg">
<table>
<thead>
<tr>
<th>Dosya Adı</th>
<th>Güncelleme Tarihi</th>
<th>İndir</th>
</tr>
</thead>
<tbody>
<asp:Repeater ID="RepeaterDosyalar" runat="server" DataSourceID="SqlDataSourceDosyalar">
<ItemTemplate>
<tr>
<td class="dosyaadi"><%#Eval("dosya_ad") %></td>
<td class="guncellemetarihi"><%#Eval("dosya_guncellemetarihi") %></td>
<td class="siparisbuton">
<a href="<%#Eval("dosya_hedef") %>">
<asp:Button ID="Button1" CssClass="butonsiparis" runat="server" Text="İndir" /></a></td>
</tr>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource runat="server" ID="SqlDataSourceDosyalar" ConnectionString='<%$ ConnectionStrings:ConnectionString %>' ProviderName='<%$ ConnectionStrings:ConnectionString.ProviderName %>' SelectCommand="SELECT * FROM [dosyalar] WHERE ([dosya_durum] = ?)">
<SelectParameters>
<asp:Parameter DefaultValue="1" Name="dosya_durum" Type="String"></asp:Parameter>
</SelectParameters>
</asp:SqlDataSource>
</tbody>
</table>
</div>
</div>
</asp:Content>