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. General Programming
  3. C#
  4. Month and year control

Month and year control

Scheduled Pinned Locked Moved C#
com
7 Posts 3 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.
  • Y Offline
    Y Offline
    Yulianto
    wrote on last edited by
    #1

    Does anyone know/have any control like calender, but only show month and year. So the user only need to select the month and date. I'm in a hurry and don't want to create my own control. tHanks.


    Work hard, Work effectively. Stock Pick

    P P 2 Replies Last reply
    0
    • Y Yulianto

      Does anyone know/have any control like calender, but only show month and year. So the user only need to select the month and date. I'm in a hurry and don't want to create my own control. tHanks.


      Work hard, Work effectively. Stock Pick

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      If you don't have the day in the date, then the whole calendar paradigm doesn't work. In this case, you're better off with 2 combos. One for month and one for year.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      Y 1 Reply Last reply
      0
      • P Pete OHanlon

        If you don't have the day in the date, then the whole calendar paradigm doesn't work. In this case, you're better off with 2 combos. One for month and one for year.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        Y Offline
        Y Offline
        Yulianto
        wrote on last edited by
        #3

        Thank for the quick reply. But I'm hoping to find somebody who have made control consisting of two combobox , one for month and one for year.


        Work hard, Work effectively. Stock Pick

        P 1 Reply Last reply
        0
        • Y Yulianto

          Thank for the quick reply. But I'm hoping to find somebody who have made control consisting of two combobox , one for month and one for year.


          Work hard, Work effectively. Stock Pick

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          To be honest, it'll take you longer to wait for the reply than it would to code it yourself. It's effectively two databound combos, so why not do it yourself.

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          Y 1 Reply Last reply
          0
          • P Pete OHanlon

            To be honest, it'll take you longer to wait for the reply than it would to code it yourself. It's effectively two databound combos, so why not do it yourself.

            Deja View - the feeling that you've seen this post before.

            My blog | My articles

            Y Offline
            Y Offline
            Yulianto
            wrote on last edited by
            #5

            Well, good idea. I'm starting to doing it by myself. It isn't as hard as I thought it will be. :laugh:


            Work hard, Work effectively. Stock Pick

            P 1 Reply Last reply
            0
            • Y Yulianto

              Well, good idea. I'm starting to doing it by myself. It isn't as hard as I thought it will be. :laugh:


              Work hard, Work effectively. Stock Pick

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              Yulianto. wrote:

              I'm starting to doing it by myself. It isn't as hard as I thought it will be.

              That's the spirit. :laugh:

              Deja View - the feeling that you've seen this post before.

              My blog | My articles

              1 Reply Last reply
              0
              • Y Yulianto

                Does anyone know/have any control like calender, but only show month and year. So the user only need to select the month and date. I'm in a hurry and don't want to create my own control. tHanks.


                Work hard, Work effectively. Stock Pick

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

                Use a custom format?

                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