-
Notifications
You must be signed in to change notification settings - Fork 0
/
BollyWoodSongs.aspx
20 lines (18 loc) · 1.49 KB
/
BollyWoodSongs.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="BollyWoodSongs.aspx.cs" Inherits="BollyWoodSongs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="padding:10px 10px 10px 10px;">
<div>
<asp:DataList ID="DataList1" DataSourceID="SqlDataSource1" RepeatColumns="3" RepeatDirection="Horizontal" runat="server">
<ItemTemplate>
<asp:ImageButton ID="ImageButton1" BorderColor="Brown" BorderStyle="Solid" BorderWidth="2px" style="padding:3px 3px 3px 3px; margin-right:4px; margin-bottom:4px" Width="220" Height="280" ImageUrl='<%#Eval("movie_image")%>' PostBackUrl='<%#Eval("movie_id","Songs.aspx?movie_id={0}")%>' runat="server" />
</ItemTemplate>
<AlternatingItemTemplate>
<asp:ImageButton ID="ImageButton1" BorderColor="BurlyWood" BorderStyle="Solid" BorderWidth="2px" style="padding:3px 3px 3px 3px; margin-right:4px; margin-bottom:4px" Width="220" Height="280" ImageUrl='<%#Eval("movie_image")%>' PostBackUrl='<%#Eval("movie_id","Songs.aspx?movie_id={0}")%>' runat="server" />
</AlternatingItemTemplate>
</asp:DataList>
<asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ConnectionStrings:oms%>" SelectCommand="select * from movie" runat="server"></asp:SqlDataSource>
</div>
</div>
</asp:Content>