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. Web Development
  3. ASP.NET
  4. write code

write code

Scheduled Pinned Locked Moved ASP.NET
csharptutorialasp-netdatabasesql-server
3 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.
  • S Offline
    S Offline
    songthan1
    wrote on last edited by
    #1

    I've just learning about asp.net by C#. I want to know how to creat a object about date, month, year. It's relate to insert into SQL Server. Example: Brithday: Date: dropdownlist Month: dropdownlist Year: dropdownlist Everyone can help me understand about it and create it????:confused:

    M D 2 Replies Last reply
    0
    • S songthan1

      I've just learning about asp.net by C#. I want to know how to creat a object about date, month, year. It's relate to insert into SQL Server. Example: Brithday: Date: dropdownlist Month: dropdownlist Year: dropdownlist Everyone can help me understand about it and create it????:confused:

      M Offline
      M Offline
      matthias s 0
      wrote on last edited by
      #2

      As for creating an object that handles dates, look up the documenation of the DateTime object. You will be able to use this in a parameter for a stored procedure. Works fine. As for the collection of input, you will have to populate the dropdowns on your own and then create a DateTime object depending on the users selection. hth /matthias

      I love deadlines. I like the whooshing sound they make as they fly by.
      [Douglas Adams]

      1 Reply Last reply
      0
      • S songthan1

        I've just learning about asp.net by C#. I want to know how to creat a object about date, month, year. It's relate to insert into SQL Server. Example: Brithday: Date: dropdownlist Month: dropdownlist Year: dropdownlist Everyone can help me understand about it and create it????:confused:

        D Offline
        D Offline
        Dave Bacher
        wrote on last edited by
        #3

        ActiveUp has a nice, open-source date/time control that provides drop-downs like you're asking about, and is as easy to use as the built-ins. You can use Google to find it.

        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