블로그 이미지
Magic_kit
study 관련자료를 한곳으로 자기 개발 목적으로 재태크 재무 관리 목적으로 일상생활의 팁을 공유 하기 위하여 블로그를 개설 하였습니다.

calendar

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

Category

Recent Post

Recent Comment

Archive

2009. 10. 27. 02:30 .Net Project/ASP.NET 3.5 Sp1
반응형
 ReplyList.aspx

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="List.aspx.cs"
                       Inherits
="Reply_List" %>

 

<!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"
                              runat="server" AutoGenerateColumns="false">

                <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> 







반응형
posted by Magic_kit