作者wqazx (( ′ 3`)y--~ N)
看板C_Sharp
標題Re: [問題] DATAGRID分頁的問題..
時間Tue Mar 21 14:54:25 2006
<%@ Page language="c#" Codebehind="TestTableSelectForm.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
推 liunate:oh well....完全不知道為什麼 orz 不過你設定numeric page 03/21 22:02
推 wqazx:喔...那是我改過的..但是還是一樣失敗...沒關係.. 03/21 22:54
→ wqazx:還是感謝你的幫助 03/21 22:55
推 liunate:砍掉重練吧 拿掉datagrid重新拉 03/21 23:19