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. Windows Forms
  4. Validation Checking

Validation Checking

Scheduled Pinned Locked Moved Windows Forms
databasesql-serversysadmin
4 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
    Sritanu _ Ghosh
    wrote on last edited by
    #1

    Hi,I am new comer of Sql Server 2005 and visual studio2005.I want to check when user put his mobile number that time it will check,mobile number should start with +91 and check also the date format. :(

    P D 2 Replies Last reply
    0
    • S Sritanu _ Ghosh

      Hi,I am new comer of Sql Server 2005 and visual studio2005.I want to check when user put his mobile number that time it will check,mobile number should start with +91 and check also the date format. :(

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

      Sritanu _ Ghosh wrote:

      want to check when user put his mobile number that time it will check,mobile number should start with +91 and check also the date format.

      Okay, what is your problem you are having? Show some code of what you have tried, and maybe someone will help.

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

      S 1 Reply Last reply
      0
      • P Paul Conrad

        Sritanu _ Ghosh wrote:

        want to check when user put his mobile number that time it will check,mobile number should start with +91 and check also the date format.

        Okay, what is your problem you are having? Show some code of what you have tried, and maybe someone will help.

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

        S Offline
        S Offline
        Sritanu _ Ghosh
        wrote on last edited by
        #3

        Actually I want some idea about that.At present I don't start to write the code. :(

        1 Reply Last reply
        0
        • S Sritanu _ Ghosh

          Hi,I am new comer of Sql Server 2005 and visual studio2005.I want to check when user put his mobile number that time it will check,mobile number should start with +91 and check also the date format. :(

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          Sritanu _ Ghosh wrote:

          mobile number should start with +91

          String class has Startswith function. You can use that.

          Sritanu _ Ghosh wrote:

          check also the date format

          Use DateTime.ParseExact

          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