Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5983999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:18:41+00:00 2026-05-22T22:18:41+00:00

In a GridView, how to show in a boolean BoundField value from resources for

  • 0

In a GridView, how to show in a boolean BoundField value from resources for each value (true, false).

For example: If the value is true then show “Value a” (from resources) else then show “Value B”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T22:18:42+00:00Added an answer on May 22, 2026 at 10:18 pm

    Better to make it Template field and then do like…

    <asp:Label ID="lbl" runat="server" <%# Eval("ColumnName") == true ? 
    Resources.GlobalRes.KeyNameA : 
    Resources.GlobalRes.KeyNameB  %> ></asp:Label>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get an ASP.NET 3.5 GridView to show a selected value as
<asp:GridView AllowSorting=true onsorting=grid_Sorting....> <asp:TemplateField ...> <HeaderStyle Font-Underline=True /> </asp:TemplateField> <asp:BoundField SortExpression=xyz...> <HeaderStyle Font-Underline=True />
I want to search some data from DataTable to show in GridView. Like (select
How to show in the WPF Listview using the GridView an empty text (like
Have a gridview control which will show X amount of rows. I want to
is there some way to force the gridview's pager to show up, even when
I have a GridView bound to an ICollection<UserAnswer> that needs to show two columns:
I have GridView which I can select a row. I then have a button
I've used an early binding of a dictionary<string, string> to a gridview to show
How I can show header/footer of Asp.Net Gridview with empty data source?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.