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. How to Increment ?

How to Increment ?

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
11 Posts 6 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.
  • K Kasi Viswanathan

    In my Project Employee Id is in the form ABC123... I have to increment one by one while registering....Send Code Thanks in Advance:rose:

    C Offline
    C Offline
    Christian Graus
    wrote on last edited by
    #2

    Kasi Viswanathan wrote:

    Send Code

    You must be joking. If the ID is not purely numeric, you need to parse out the numeric portion, increment it, and put it back.

    Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

    E K 2 Replies Last reply
    0
    • C Christian Graus

      Kasi Viswanathan wrote:

      Send Code

      You must be joking. If the ID is not purely numeric, you need to parse out the numeric portion, increment it, and put it back.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      E Offline
      E Offline
      Eduard Keilholz
      wrote on last edited by
      #3

      Or use Base36 calculation and just add 1 unless the first three chars require to be 'ABC'. Anyway.... :doh:

      Please vote my message! Click on one of the numbers beside 'Rate this message'. .: I love it when a plan comes together :. http://www.zonderpunt.nl

      K 1 Reply Last reply
      0
      • K Kasi Viswanathan

        In my Project Employee Id is in the form ABC123... I have to increment one by one while registering....Send Code Thanks in Advance:rose:

        L Offline
        L Offline
        leckey 0
        wrote on last edited by
        #4

        I looked at some of your previous posts and you keep demanding we send you the code. This site is for people who want to learn.

        __________________________ Don't drink and derive. Alcohol and calculus don't mix.

        P K 2 Replies Last reply
        0
        • K Kasi Viswanathan

          In my Project Employee Id is in the form ABC123... I have to increment one by one while registering....Send Code Thanks in Advance:rose:

          M Offline
          M Offline
          M_Menon
          wrote on last edited by
          #5

          Kasi, If you dont understand. People in forum here help each other. This is no way of asking it. Try to be more nice. Cheers Menon

          K 1 Reply Last reply
          0
          • L leckey 0

            I looked at some of your previous posts and you keep demanding we send you the code. This site is for people who want to learn.

            __________________________ Don't drink and derive. Alcohol and calculus don't mix.

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #6

            leckey wrote:

            looked at some of your previous posts and you keep demanding we send you the code.

            Even if he was polite and said "Please" , I still wouldn't give out any serious code ;P

            "Try asking what you want to know, rather than asking a question whose answer you know." - Christian Graus

            K 1 Reply Last reply
            0
            • C Christian Graus

              Kasi Viswanathan wrote:

              Send Code

              You must be joking. If the ID is not purely numeric, you need to parse out the numeric portion, increment it, and put it back.

              Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

              K Offline
              K Offline
              Kasi Viswanathan
              wrote on last edited by
              #7

              But this is not a joke...Tanx for ur Suggession.

              1 Reply Last reply
              0
              • E Eduard Keilholz

                Or use Base36 calculation and just add 1 unless the first three chars require to be 'ABC'. Anyway.... :doh:

                Please vote my message! Click on one of the numbers beside 'Rate this message'. .: I love it when a plan comes together :. http://www.zonderpunt.nl

                K Offline
                K Offline
                Kasi Viswanathan
                wrote on last edited by
                #8

                Tanx for ur suggession...

                1 Reply Last reply
                0
                • L leckey 0

                  I looked at some of your previous posts and you keep demanding we send you the code. This site is for people who want to learn.

                  __________________________ Don't drink and derive. Alcohol and calculus don't mix.

                  K Offline
                  K Offline
                  Kasi Viswanathan
                  wrote on last edited by
                  #9

                  This site is for people to learn and not to comment others....:laugh::laugh::laugh:

                  1 Reply Last reply
                  0
                  • P Paul Conrad

                    leckey wrote:

                    looked at some of your previous posts and you keep demanding we send you the code.

                    Even if he was polite and said "Please" , I still wouldn't give out any serious code ;P

                    "Try asking what you want to know, rather than asking a question whose answer you know." - Christian Graus

                    K Offline
                    K Offline
                    Kasi Viswanathan
                    wrote on last edited by
                    #10

                    Empty Vessels Makes More Noise...:laugh::laugh::laugh:

                    1 Reply Last reply
                    0
                    • M M_Menon

                      Kasi, If you dont understand. People in forum here help each other. This is no way of asking it. Try to be more nice. Cheers Menon

                      K Offline
                      K Offline
                      Kasi Viswanathan
                      wrote on last edited by
                      #11

                      Sure i will try my level best in future...Tanx:rose:

                      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