[AccessD] OT .NET

Martin Reid mwp.reid at qub.ac.uk
Tue May 27 14:33:05 CDT 2003


I need someone to check the following example for me. Its a bit of C Sharp. 
Can you see if you get any sort of message when you try it out. Just want 
to confirm the results I get here.

You will need Dreamweaver MX to test this. Oh and the .NET Framework (<: 
Just cut and past the following script into a DW MX page, save into a locla 
web site and view at http://localhost/filename.

Martin


<%@ Page Language="C#" ContentType="text/html" 
ResponseEncoding="iso-8859-1" %> <%@ Register TagPrefix="MM" 
Namespace="DreamweaverCtrls" 
Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral" 
%>

<html>
<head>
<title>Register</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="home.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0">
<form method="post" name="form2" runat="server">

<table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="10">

      <tr>
        <td><table width="100%" border="0" cellpadding="5" cellspacing="0" 
bgcolor="#CCCC99">
          <tr>
            <td align="left" valign="top"><table width="100%" border="0" 
cellspacing="0" cellpadding="0">
              <tr>
                <td><table width="100%" border="0" cellspacing="0" 
cellpadding="10">
                    <tr>
                      <td align="left" valign="top"><div align="center">
                          <h3>Create An Account</h3>
                          <p align="left">To register, fill out the form 
below.
                            Most boxes are optional. Boxes with * next to 
them
                            are mandatory. </p>
                      </div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td align="left" valign="top">
                                 <table width="100%" align="center" 
cellpadding="10" bgcolor="#FFFFFF" class="tablebrdr">
                            <tr valign="baseline"> 
                              <td width="37%" align="left" valign="top"> 
Password
                                (must be between 5 and 20 characters <span 
class="red"><strong>and
                                contain at least one number and 
letter</strong></span>):
                              </td>
                              <td width="15%" align="left" valign="top"> 
                                <asp:textbox Columns="32" 
ID="EnterPassword" runat="server" Text="Enter Your Password" 
TextMode="Password" />
                                * </td>
                              <td width="48%" rowspan="3" align="left" 
valign="top"><div align="left">
                                  <p> 
                                    <asp:requiredfieldvalidator 
ControlToValidate="EnterPassword" Display="Static" 
EnableClientScript="true" ErrorMessage="Better Give Me a Password!" 
ID="vRequiredValidator" InitialValue="Enter Your Password" runat="server" 
Text="You must enter a password" />
                                      </p>
                                </div>
                                <p>  </p></td>
                            </tr>
                            <tr valign="baseline"> 
                              <td align="left" valign="top"> Password (must 
match
                                above Password):</td>
                              <td align="left" valign="top"><asp:textbox 
ID="CPassword" TextMode="Password" Columns="32" runat="server" />
                                * </td>
                            </tr>
                            <tr valign="baseline"> 
                              <td  align="left" valign="top"> </td>
                              <td align="left" valign="top"><input 
name="submit" type="submit" value="Create Account">
                              </td>
                            </tr>
                          </table>
						  </td>
              </tr>
            </table></td>
          </tr>
   
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>

</form>
</body>
</html>



More information about the AccessD mailing list