|
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
|
Tradução
Original
|
FormView.PagerSettings Propriedade
Assembly: System.Web (em System.Web. dll)
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] public virtual PagerSettings PagerSettings { get; }
Valor da propriedade
Tipo: System.Web.UI.WebControls.PagerSettings
<%@ Page language= %>
<!DOCTYPE html PUBLIC "-
"http:
<html xmlns="http:
<head runat=>
<title>FormView AllowPaging Example</title>
</head>
<body>
<form id= runat=>
<h3>FormView AllowPaging Example</h3>
<asp:formview id=
datasourceid=
allowpaging=
datakeynames=
runat=>
<pagersettings mode=
position=/>
<pagerstyle backcolor=
horizontalalign=/>
<itemtemplate>
<table>
<tr>
<td>
<asp:image id=
imageurl='<%# Eval() %>'
alternatetext='<%# Eval() %>'
runat=/>
</td>
<td>
<h3><%# Eval() %> <%# Eval() %></h3>
<%# Eval() %>
</td>
</tr>
</table>
</itemtemplate>
</asp:formview>
<!-- This example uses Microsoft SQL Server and connects -->
<!-- to the Northwind sample database. Use an ASP.NET -->
<!-- expression to retrieve the connection string value -->
<!-- the Web.config file. -->
<asp:sqldatasource id=
selectcommand=
connectionstring=
runat=/>
</form>
</body>
</html>