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. MAKE AUTOMATIC NUMBER

MAKE AUTOMATIC NUMBER

Scheduled Pinned Locked Moved C#
question
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
    Saepul Bahri
    wrote on last edited by
    #1

    Good afternon I am saepul from indonesia i have question where my question is how sintax make automatic number where that automatic number include year moth day and counter number thanks very much bestregard saepul

    P OriginalGriffO 2 Replies Last reply
    0
    • S Saepul Bahri

      Good afternon I am saepul from indonesia i have question where my question is how sintax make automatic number where that automatic number include year moth day and counter number thanks very much bestregard saepul

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

      Where are you getting your counter number from? The reason I ask this is because if you rely on a program to maintain a running total then you are probably going to have problems if the application crashes and restarts - you'll get duplicated numbers and it seems likely that this isn't what you want. Is the number meant to be an identity field in a database?

      1 Reply Last reply
      0
      • S Saepul Bahri

        Good afternon I am saepul from indonesia i have question where my question is how sintax make automatic number where that automatic number include year moth day and counter number thanks very much bestregard saepul

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        STOP SHOUTING. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalization if you want to be taken seriously.

        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        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