作者wqazx (( ′ 3`)y--~ N)
看板C_Sharp
标题Re: [问题] DATAGRID分页的问题..
时间Tue Mar 21 14:54:25 2006
<%@ Page language="c#" Codebehind="TestTableSelectForcn.aspx.cs" AutoEventWireup="false" Inherits="TestADODotNET.TestTableSelectForm" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>TestTableSelectForm</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="
http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<asp:dropdownlist id="dlname" Runat="server" AutoPostBack="true" /><asp:button id="Bt2" Runat="server" Text="新增" />
<asp:button id="Bt3" Runat="server" Text="删除" /><br>
Oracle :<asp:label id="lblOracleTable" runat="server" />
<br>
<asp:dropdownlist id="ttt" Runat="server">
<asp:ListItem Value="1" />
<asp:ListItem Value="2" />
<asp:ListItem Value="3" />
</asp:dropdownlist>
<asp:datagrid id="dgData" runat="server" BorderWidth="4px" BorderColor="#993300" PageSize="2"
AllowPaging=True AllowCustomPaging=False Height="288px" Width="832px" PagerStyle-Mode="NumericPages">
<HeaderStyle ForeColor="#009966"></HeaderStyle>
</asp:datagrid><br>
<asp:button id="Button1" runat="server" Text="Oracle Select" /><br>
<asp:label id="lblMessage" Runat="server"></asp:label></form>
</body>
</HTML>
这是我的ASPX档案...
就麻环L大大可以在帮我看看了...
真是感激不尽
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.127.114.219
1F:推 liunate:oh well....完全不知道为什麽 orz 不过你设定numeric page 03/21 22:02
2F:推 wqazx:喔...那是我改过的..但是还是一样失败...没关系.. 03/21 22:54
3F:→ wqazx:还是感谢你的帮助 03/21 22:55
4F:推 liunate:砍掉重练吧 拿掉datagrid重新拉 03/21 23:19