|
Dieser Artikel wurde maschinell übersetzt. Bewegen Sie den Mauszeiger über die Sätze im Artikel, um den Originaltext anzuzeigen. Weitere Informationen
|
Übersetzung
Original
|
BoundField-Klasse
System.Web.UI.WebControls.DataControlField
System.Web.UI.WebControls.BoundField
System.Web.UI.WebControls.AutoGeneratedField
System.Web.UI.WebControls.CheckBoxField
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Der BoundField-Typ macht die folgenden Member verfügbar.
| Name | Beschreibung | |
|---|---|---|
![]() | AccessibleHeaderText | |
![]() | ApplyFormatInEditMode | |
![]() | Control | |
![]() | ControlStyle | |
![]() | ConvertEmptyStringToNull | |
![]() | DataField | |
![]() | DataFormatString | |
![]() | DesignMode | |
![]() | FooterStyle | |
![]() | FooterText | |
![]() | HeaderImageUrl | |
![]() | HeaderStyle | |
![]() | HeaderText | |
![]() | HtmlEncode | |
![]() | HtmlEncodeFormatString | |
![]() | InsertVisible | |
![]() | IsTrackingViewState | |
![]() | ItemStyle | |
![]() | NullDisplayText | |
![]() | ReadOnly | |
![]() | ShowHeader | |
![]() | SortExpression | |
![]() | SupportsHtmlEncode | |
![]() | ValidateRequestMode | |
![]() | ViewState | |
![]() | Visible |
| Name | Beschreibung | |
|---|---|---|
![]() | CloneField | Infrastruktur. |
![]() | CopyProperties | |
![]() | CreateField | |
![]() | Equals(Object) | |
![]() | ExtractValuesFromCell | |
![]() | Finalize | |
![]() | FormatDataValue | |
![]() | GetDesignTimeValue | |
![]() | GetHashCode | |
![]() | GetType | |
![]() | GetValue | |
![]() | Initialize | |
![]() | InitializeCell | |
![]() | InitializeDataCell | |
![]() | LoadViewState | |
![]() | MemberwiseClone | |
![]() | OnDataBindField | |
![]() | OnFieldChanged | |
![]() | SaveViewState | |
![]() | ToString | |
![]() | TrackViewState | |
![]() | ValidateSupportsCallback |
| Name | Beschreibung | |
|---|---|---|
![]() ![]() | IDataSourceViewSchemaAccessor.DataSourceViewSchema | Infrastruktur. |
![]() ![]() | IStateManager.IsTrackingViewState | Infrastruktur. |
![]() ![]() | IStateManager.LoadViewState | Infrastruktur. |
![]() ![]() | IStateManager.SaveViewState | Infrastruktur. |
![]() ![]() | IStateManager.TrackViewState | Infrastruktur. |
Hinweis |
|---|
<%@ Page language="C#" %> <!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>BoundField Example</title> </head> <body> <form id="form1" runat="server"> <h3>BoundField Example</h3> <asp:gridview id="CustomersGridView" datasourceid="CustomersSqlDataSource" autogeneratecolumns="false" autogenerateeditbutton="true" allowpaging="true" datakeynames="CustomerID" runat="server"> <columns> <asp:boundfield datafield="CustomerID" readonly="true" headertext="Customer ID"/> <asp:boundfield datafield="CompanyName" convertemptystringtonull="true" headertext="Customer Name"/> <asp:boundfield datafield="Address" convertemptystringtonull="true" headertext="Address"/> <asp:boundfield datafield="City" convertemptystringtonull="true" headertext="City"/> <asp:boundfield datafield="PostalCode" convertemptystringtonull="true" headertext="ZIP Code"/> <asp:boundfield datafield="Country" convertemptystringtonull="true" headertext="Country"/> </columns> </asp:gridview> <!-- This example uses Microsoft SQL Server and connects --> <!-- to the Northwind sample database. Use an ASP.NET --> <!-- expression to retrieve the connection string value --> <!-- from the Web.config file. --> <asp:sqldatasource id="CustomersSqlDataSource" selectcommand="Select [CustomerID], [CompanyName], [Address], [City], [PostalCode], [Country] From [Customers]" updatecommand="Update Customers Set CompanyName=@CompanyName, Address=@Address, City=@City, PostalCode=@PostalCode, Country=@Country Where (CustomerID = @CustomerID)" connectionstring="<%$ ConnectionStrings:NorthWindConnectionString%>" runat="server"> </asp:sqldatasource> </form> </body> </html>
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core-Rolle wird nicht unterstützt), Windows Server 2008 R2 (Server Core-Rolle wird mit SP1 oder höher unterstützt; Itanium wird nicht unterstützt)
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET Framework.

