제목 : FrmGridView번호유지.aspx
글번호:
|
|
315
|
작성자:
|
|
레드플러스
|
작성일:
|
|
2009/08/13 오후 7:27:00
|
조회수:
|
|
4132
|
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FrmGridView번호유지.aspx.cs" Inherits="Qna_FrmGridView번호유지" %>
<!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>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
onpageindexchanging="GridView1_PageIndexChanging" PageSize="10">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<%#intTotalCount - ((Container.DisplayIndex) + (intPage)*10)%>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
</form>
</body>
</html>