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 8751605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:04:48+00:00 2026-06-13T13:04:48+00:00

I have a label control that has the value 123| value9| value6|value9 Right below

  • 0

I have a label control that has the value

123| value9| value6|value9

Right below this label control, I have a gridview, I want to make that item of the gridview bold that has the linkbutton with
123 value in it

so for e.g

value9     Value1             Value3                   Value4

345   Tested Value             Equipment1               Equipment3
456   Testing              Equipment9                   Equipment9
123   Value9               Valu6                         value9
789   Value8               Value10                         value20

900 value5 value3 value34

all the value in value9 is a linkbutton. I want the whole line to be bold 123 Value9 Valu6 value9 when the label control has 123 in it and if the label control has 789 in it then I want the 789 Value8 Value10 value20 to be bold.
any help will be appreciated.

  • 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-06-13T13:04:49+00:00Added an answer on June 13, 2026 at 1:04 pm

    Have a look at the RowDataBound event.

    Use the GridViewRowEventArgs object, to get a reference to the current Row and set its Font.Bold to true

    You also need to include your if-condition into the RowDataBound event. How you do that depends on your datasource:

    if (e.Row.RowType == DataControlRowType.DataRow)
    {
    // use QuickWatch to see how you can get your desired information from e.Row.DataItem
    }
    

    I’ve once written an article about the RowDataBound event: http://www.tomot.de/en-us/article/7/asp.net/gridview-overview-of-different-ways-to-bind-data-to-columns

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a user control that contains multiple controls (CheckBox, Button, Label...). I want
I have a control that has a label on it, that I would like
I have a repeater control that contains an ItemTemplate containing a databound label and
Say I have a label control in Winforms and I want to do some
I have an updateprogress in my aspx file, which has a label control in
I have created a user control (link) which has a label and a button.
i have a class that has lot of problem with containers ,this time if
I am using spy++ and see that the control I have has the decimal
I have created a user control that has an asp:login control in it. I
this is a two part question that probbably have a similar answer. I want

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.