Re: [問題] DATAGRID分頁的問題..
<%@ 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
推
03/21 22:02, , 1F
03/21 22:02, 1F
推
03/21 22:54, , 2F
03/21 22:54, 2F
→
03/21 22:55, , 3F
03/21 22:55, 3F
推
03/21 23:19, , 4F
03/21 23:19, 4F
討論串 (同標題文章)
C_Sharp 近期熱門文章
PTT數位生活區 即時熱門文章