none
Generate Auto id in data grid RRS feed

  • Question

  • How can i auto generate id starting from 10000 increamented each time by 1 i.e 10000+1

     

    Thanks in Advance.

    • Moved by edhickeyModerator Tuesday, July 5, 2011 3:18 PM (From:.NET 3.0/3.5 Windows Workflow Foundation)
    Tuesday, July 5, 2011 4:32 AM

Answers

All replies

  • Something like this:

    Dim i as Integer

    For i = 10000 to 20000

    <do stuff here>

    Next i


    Ed Hickey http://blogs.msdn.com/b/edhickey/archive/2010/04/21/how-to-post-effectively-in-forums.aspx
    Tuesday, July 5, 2011 3:18 PM
    Moderator
  • I have resolved the problem thnaks.
    • Marked as answer by Matikabap Wednesday, July 13, 2011 9:02 AM
    Wednesday, July 13, 2011 9:02 AM