Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. Trimming off a little too much?

Trimming off a little too much?

Scheduled Pinned Locked Moved The Weird and The Wonderful
question
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bigbrownbeaver
    wrote on last edited by
    #1

    I wish I knew what this guy was thinking.

    ddl_Operator.DataTextField = ("description").Trim

    C P 2 Replies Last reply
    0
    • B bigbrownbeaver

      I wish I knew what this guy was thinking.

      ddl_Operator.DataTextField = ("description").Trim

      C Offline
      C Offline
      ChandraRam
      wrote on last edited by
      #2

      A Find and Replace gone crazy?

      1 Reply Last reply
      0
      • B bigbrownbeaver

        I wish I knew what this guy was thinking.

        ddl_Operator.DataTextField = ("description").Trim

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        Probably didn't realize he could do

        ddl_Operator.DataTextField = ("description").ToString() ;

        nor even that the parentheses are extraneous.

        L C 2 Replies Last reply
        0
        • P PIEBALDconsult

          Probably didn't realize he could do

          ddl_Operator.DataTextField = ("description").ToString() ;

          nor even that the parentheses are extraneous.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          And why not simply

          ddl_Operator.DataTextField = "description";

          ?

          A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

          P 1 Reply Last reply
          0
          • L Lost User

            And why not simply

            ddl_Operator.DataTextField = "description";

            ?

            A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #5

            Well, sure, but then there's no fame and glory. :-D

            1 Reply Last reply
            0
            • P PIEBALDconsult

              Probably didn't realize he could do

              ddl_Operator.DataTextField = ("description").ToString() ;

              nor even that the parentheses are extraneous.

              C Offline
              C Offline
              chmod2222
              wrote on last edited by
              #6

              PIEBALDconsult wrote:

              Probably didn't realize he could do ddl_Operator.DataTextField = ("description").ToString() ;

              or maybe.. ddl_Operator.DataTextField = ("description").ToString().ToString().ToString().ToString().Trim() ; :)

              -- www.domagoj.net

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups