|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Paging.aspx.cs" Inherits="AspNetRepeaterControl.Paging" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div style ="font-family:Trebuchet MS; font-size:10pt">
<asp:Repeater ID="Repeater1" runat="server">
<HeaderTemplate>
<div style="width:600px; height:20px; background-color:Yellow; color:Red; text-align:center; font-weight:bold">
Başlık
</div>
</HeaderTemplate>
<ItemTemplate>
<div style="width:600px; height:20px;">
<div style="width:150px; height:100%; float:left; font-weight:bold; background-color:Red; color:Yellow;">
<%#DataBinder.Eval(Container.DataItem,"UrunAd") %>
</div>
<div style="width:450px; height:100%; float:left; background-color:Red; color:Yellow;">
<b>:</b> <%#DataBinder.Eval(Container.DataItem,"UrunFiyat") %> TL
</div>
<//div>
</ItemTemplate>
<AlternatingItemTemplate>
<div style="width:600px; height:20px;">
<div style="width:150px; height:100%; float:left; font-weight:bold; background-color:Yellow; color:Red;">
<%#DataBinder.Eval(Container.DataItem,"UrunAd") %>
</div>
<div style="width:450px; height:100%; float:left; background-color:Yellow; color:Red;">
<b>:</b> <%#DataBinder.Eval(Container.DataItem,"UrunFiyat") %> TL
</div>
<//div>
</AlternatingItemTemplate>
<FooterTemplate>
<div style="width:600px; height:20px; background-color:Black; color:White; text-align:center; font-weight:bold">
Kayıt Sonu
</div>
</FooterTemplate>
</asp:Repeater>
<div style="width:600px; height:20px;">
<div style="width:50px; height:100%; float:left">
<asp:Button ID="btGeri" runat="server" Text="GERİ" Width="50px"
onclick="btGeri_Click" />
</div>
<div style="width:500px; height:100%; float:left; text-align:center">
<asp:Label ID="lbSayfaBilgi" runat="server" Text=" "></asp:Label>
</div>
<div style="width:50px; height:100%; float:left">
<asp:Button ID="btIleri" runat="server" Text="İLERİ" Width="50px"
onclick="btIleri_Click" />
</div>
</div>
</div>
</form>
</body>
</html>
|