APNSoft.com - Web Controls, components for ASP.NET
 About Us 
 Articles 
 Products
 Downloads 
 Purchase
 Support

ASP.NET Controls

ASP.NET ComboBox
ComboBox
The professional replacement for the classic ASP.NET DropDownList component.

ASP.NET DataGrid
DataGrid
The server control to display data in a tabular format with options of choice, sorting and editing entries.

ASP.NET Include
Include
The server control to include a HTML files into your ASP.NET pages as Server Side Includes (SSI).

ASP.NET Menu
Menu
The server control to display both statically and dynamically created menus on your Web pages.

ASP.NET Rating
Rating
The server control to easily provide feedback on an article, blog item, product description, etc.

ASP.NET TreeView
TreeView
The ASP.NET server control to display hierarchical data in a tree structure.





How to change the column value as Boolean in database to be displayed as Yes/No in DataGrid?

Apply an XSL Template used for Conditional Formatting.

...
<xsl:template name="Main">

  <!--Cell value-->
  <xsl:variable name="YesNo">$CellValue$</xsl:variable>

  <!--Conditional Formatting-->
  <xsl:choose>
  <xsl:when test="$YesNo='True'">Yes</xsl:when>
  <xsl:otherwise>No</xsl:otherwise>
  </xsl:choose>

</xsl:template>
...


 Search Options:
Topic:    Search for:
  Match:
       

APNSoft FAQ Manager 1.0 (38)   © 2003-2024 APNSoft. All rights reserved.


© 2003-2024 APNSoft. All rights reserved.    Terms of use.