Author: ryguy7272 | Posted on: 8/8/2010 3:03:26 PM | Views : 250

I have two questions. 
#1)  How can I force a user to enter information into TextBoxes (right now a user can click a CommandButton and literally insert nulls into a table in one of my SQL Server DBs)?  I want to prompt a user to enter some information if they are trying to click the button and submit data to me w/out filling in all the fields. 
#2)  How can I hide the data that is input into the Password field and the Confirm Password field?  Now, a user (and anyone close by) sees the data that is entered into these two fields
Thanks!!
All code shown below:
Register.aspx:
 
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Register.aspx.vb" Inherits="Register" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional. ...

Go to the complete details ...