Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions xml/System.Web.UI.WebControls/BoundField.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>

</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.UI.WebControls.DataControlField</BaseTypeName>
Expand Down Expand Up @@ -422,19 +423,6 @@

For more information and for examples that show formatting for other culture values, see [Standard Date and Time Format Strings](/dotnet/standard/base-types/standard-date-and-time-format-strings). You can also create custom date and time format strings. For more information, see [Custom Date and Time Format Strings](/dotnet/standard/base-types/custom-date-and-time-format-strings).



## Examples
A Visual Studio Web site project with source code is available to accompany this topic: [Download](https://go.microsoft.com/fwlink/?LinkId=191889).

The following example shows how to use the <xref:System.Web.UI.WebControls.BoundField.DataFormatString%2A> property to specify a custom display format for the values of a field.

The following example shows one row of the output that is produced by this example.

|ProductID|Name|ProductNumber|ListPrice|Weight|ModifiedDate|
|---------------|----------|-------------------|---------------|------------|------------------|
|`000680`|`HL Road Frame - Black, 58`|`#FR-R92B-58`|`$1,431.50`|`1016.040`|`3/11/2004`|

]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.BoundField.DataField" />
Expand Down
Loading