Results 1 to 4 of 4

Thread: How do I display * for text in a form

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Posts
    2

    Question How do I display * for text in a form

    I am trying to have the SSN in my employee database form display as asterisks.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Then just display astericks without ever displaying a number. If you have the employee name, you can always to a Db query to get the SSN and use it without ever having to display it anywhere.

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    cahange the PasswordChar property to *
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    VB Code:
    1. Text1.PasswordChar = "*"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width