ReplyList.aspx |
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="List.aspx.cs" <!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> <h3>출력</h3> <div> <asp:GridView ID="ctlReplyList" <Columns> <asp:TemplateField HeaderText="제목"> <ItemTemplate> <%# FuncStep(Eval("Step")) %> <asp:HyperLink ID="lnkTitle" runat="server" NavigateUrl='<%# "View.aspx?Num=" + Eval("Num") %>'> <%# Eval("Title") %> </asp:HyperLink> <%# Reply.Common.Board.GetNewImg(Eval("PostDate")) %> </ItemTemplate> </asp:TemplateField> <asp:BoundField HeaderText="Ref" DataField="Ref" /> <asp:BoundField HeaderText="Step" DataField="Step" /> <asp:BoundField HeaderText="RefOrder" DataField="RefOrder" /> </Columns> <EmptyDataTemplate> <div>입력된 데이터 없습니다..</div> </EmptyDataTemplate> </asp:GridView> <asp:HyperLink ID="lnkWrite" runat="server" NavigateUrl="~/Reply/Write.aspx">글쓰기</asp:HyperLink> </div> </div> </form> </body> </html> |
'.Net Project > ASP.NET 3.5 Sp1' 카테고리의 다른 글
41-8장 답변형 게시판(View) (0) | 2009.10.27 |
---|---|
41-7장 답변형 게시판(Modify) (0) | 2009.10.27 |
41-5장 답변형 게시판(Write) (0) | 2009.10.27 |
40장 ASP.NET Web 로그인 컨트롤 (Login Name) (0) | 2009.10.15 |
39장 ASP.NET Web 로그인컨트롤 (Login Status) (0) | 2009.10.15 |