<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="flashlinklist.aspx.cs" Inherits="HeyuanHouse.Web.backend.flashlinklist" %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>河房网网站管理系统</title>
<link href="images/sdcms.css" rel="stylesheet" type="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script language="javascript" src="images/sdcms.js"></script>
</head>
<body>
<div class="sdcms_notice"><span>管理操作：</span><a href="flashlinkedit.aspx?action=add">添加幻灯片</a></div>
<br>
<ul id="sdcms_sub_title">
	<li class="sub"><a href="#">幻灯片管理</a></li>
</ul>
<div id="sdcms_right_b">
<form id="Form1" runat="server">
  <asp:DataGrid runat="server" ID="dgFlashLinkList" AutoGenerateColumns="false" 
            BorderWidth="0" HorizontalAlign="Center" CellPadding="3" CellSpacing="1" 
            CssClass="table_b" HeaderStyle-CssClass="title_bg" 
            FooterStyle-BackColor="#ffffff" FooterStyle-HorizontalAlign="Center" FooterStyle-Height="33"
            UseAccessibleHeader="true" ShowFooter="false" ShowHeader="true" 
            DataKeyField="linkid" onitemcreated="dgFlashLinkList_ItemCreated" 
      onitemcommand="dgFlashLinkList_ItemCommand">
     <Columns>
     <asp:TemplateColumn HeaderText="图片">
        <ItemTemplate>
           <img src="<%# Eval("includepic")%>" width="150" height="120" />
        </ItemTemplate>
     </asp:TemplateColumn>
     <asp:TemplateColumn HeaderText="标题">
        <ItemTemplate>
           <%# Eval("title")%>
        </ItemTemplate>
     </asp:TemplateColumn>
     <asp:TemplateColumn HeaderText="排序">
        <ItemTemplate>
           <%# Eval("orderno")%>
        </ItemTemplate>
     </asp:TemplateColumn>
     <asp:TemplateColumn HeaderText="管理操作">
        <ItemTemplate>
          <a href='flashlinkedit.aspx?action=edit&linkid=<%# Eval("linkid") %>'>编辑</a> 
          | <asp:LinkButton ID="lnkDelete" runat="server" CommandArgument="deletelink" Text="删除" />
        </ItemTemplate> 
     </asp:TemplateColumn>
     </Columns>
  </asp:DataGrid>  
  </form>
</div>
</body>
</html>

