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 generate userid in .net 1.1

how to generate userid in .net 1.1

Scheduled Pinned Locked Moved ASP.NET
csharptutorialquestion
2 Posts 2 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.
  • U Offline
    U Offline
    Uma Kameswari
    wrote on last edited by
    #1

    if the userid we have entered was choosen by someone at the time of registeration and website offers userids available... how to generate the code? thanks in advance uma

    N 1 Reply Last reply
    0
    • U Uma Kameswari

      if the userid we have entered was choosen by someone at the time of registeration and website offers userids available... how to generate the code? thanks in advance uma

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      It's pretty hard to reply for this message in forums. But I can give you some hints. My idea is try to create maximum possible id's with the supplied information. Check each id exist on the DB. If not show that to user. Assume user has specified name as Navaneeth and age as 24. Then possible id's could be navaneeth24 24navaneeth 24.navaneeth navaneeth.24. Then check each on DB and display only id's that doesn't exist on DB. It's wild guess. But try it


      printf("Navaneeth!!") www.w3hearts.com

      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