• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

test please delete

Collapse
This is a sticky topic.
X
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by NickFitz View Post
    It's been chucking it down again, but now it's having a rest. I ought to get down to the Chinese while it holds off, I suppose.
    Lovely and sunny outside today.

    I should have cleared the leaves from the garden but no sooner than I've done that and it's covered again, tree is taking it's damn time to shed.
    "Ask not what you can do for your country. Ask what's for lunch." - Orson Welles

    Norrahe's blog

    Comment


      Had some nice beers this evening, couple of independent cloggy breweries that weren't the usual coriander hops, actual depth of flavour and also an american IPA which was nicely subtle as well.
      "Ask not what you can do for your country. Ask what's for lunch." - Orson Welles

      Norrahe's blog

      Comment


        Why won't my borders go black

        Comment


          Originally posted by mudskipper View Post
          Why won't my borders go black
          eh?
          "Ask not what you can do for your country. Ask what's for lunch." - Orson Welles

          Norrahe's blog

          Comment


            Originally posted by norrahe View Post
            Had some nice beers this evening, couple of independent cloggy breweries that weren't the usual coriander hops, actual depth of flavour and also an american IPA which was nicely subtle as well.
            Now on the Koerenwijn, which is very nice indeed!

            Shame I didn't put it in the freezer when I got back from the shops.
            "Ask not what you can do for your country. Ask what's for lunch." - Orson Welles

            Norrahe's blog

            Comment


              Originally posted by norrahe View Post
              eh?

              Comment


                Originally posted by mudskipper View Post
                Ah, tecchy stuff
                "Ask not what you can do for your country. Ask what's for lunch." - Orson Welles

                Norrahe's blog

                Comment


                  Originally posted by mudskipper View Post
                  Why won't my borders go black
                  Either specificity, or the cascade.

                  Comment


                    Originally posted by NickFitz View Post
                    Either specificity, or the cascade.
                    .Net gridview

                    Binding dynamically, setting forecolor depending on text in cell

                    Code:
                            protected void GridViewLocking_RowDataBound(object sender, GridViewRowEventArgs e)
                            {
                                    // Set cell colours
                    
                                    if (e.Row.RowType == DataControlRowType.DataRow)
                                    {
                                        e.Row.Cells[1].ForeColor = e.Row.Cells[1].Text == "Locked" ? System.Drawing.Color.Red : System.Drawing.Color.Green;
                                      
                                        // Go black you ****er!
                                        e.Row.Cells[1].BorderColor = System.Drawing.Color.Black;                    
                                        e.Row.BorderColor = System.Drawing.Color.Black;
                                    }
                    
                            }
                    Rendering as
                    Code:
                    <td style="color:Green;border-color:Black;">Unlocked</td>
                    For good measure, I've added to my css
                    Code:
                        td
                        {
                            border-color: black !important;
                        }
                    It's still green. Or red.

                    Comment


                      I feel like Barbie. I need some boys to come and fix my css.

                      Comment

                      Working...
                      X