Hawk,
No problem, here is my code:
I marked up the ASP code in BLUE and the ASP.NET object in question in RED.
[COLOR="Blue"]
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral" %>
<MM:Insert
runat="server"
CommandText='<%# "INSERT INTO Employees (BillingShippingAddress, BillingShippingCity, BillingShippingState, BillingShippingZip, DepartmentID, Email, Headshot, Name, Pass_word, Phone, Username) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)" %>'
ConnectionString='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_STRING_connDorknozzle") %>'
DatabaseType='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_DATABASETYPE_connDorknozzle") %>'
Expression='<%# Request.Form("MM_insert") = "form1" %>'
CreateDataSet="false"
SuccessURL='<%# "chap26x_newusercreated.aspx" %>'
><Parameters>
<Parameter Name="@BillingShippingAddress" Value='<%# IIf((Request.Form("billshipaddress") <> Nothing), Request.Form("billshipaddress"), "") %>' Type="WChar" />
<Parameter Name="@BillingShippingCity" Value='<%# IIf((Request.Form("billshipcity") <> Nothing), Request.Form("billshipcity"), "") %>' Type="WChar" />
<Parameter Name="@BillingShippingState" Value='<%# IIf((Request.Form("billshipstate") <> Nothing), Request.Form("billshipstate"), "") %>' Type="WChar" />
<Parameter Name="@BillingShippingZip" Value='<%# IIf((Request.Form("billshipzip") <> Nothing), Request.Form("billshipzip"), "") %>' Type="WChar" />
<Parameter Name="@DepartmentID" Value='<%# IIf((Request.Form("departmentid") <> Nothing), Request.Form("departmentid"), "") %>' Type="Integer" />
<Parameter Name="@Email" Value='<%# IIf((Request.Form("email") <> Nothing), Request.Form("email"), "") %>' Type="WChar" />
<Parameter Name="@Headshot" Value='<%# IIf((Request.Form("headshotloc") <> Nothing), Request.Form("headshotloc"), "") %>' Type="WChar" />
<Parameter Name="@Name" Value='<%# IIf((Request.Form("name") <> Nothing), Request.Form("name"), "") %>' Type="WChar" />
<Parameter Name="@Pass_word" Value='<%# IIf((Request.Form("password") <> Nothing), Request.Form("password"), "") %>' Type="WChar" />
<Parameter Name="@Phone" Value='<%# IIf((Request.Form("phonenumber") <> Nothing), Request.Form("phonenumber"), "") %>' Type="WChar" />
<Parameter Name="@Username" Value='<%# IIf((Request.Form("username") <> Nothing), Request.Form("username"), "") %>' Type="WChar" />
</Parameters>
</MM:Insert>
<MM:PageBind runat="server" PostBackBind="true" />
[/COLOR]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>The Dorknozzle Company Intranet</title>
<!-- TemplateEndEditable -->
<link href="Chapter 26/Beginning/DorknozzleASPX/styles.css" rel="stylesheet" type="text/css" />
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body bgcolor="#FFFFFF">
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="Chapter 26/Beginning/DorknozzleASPX/Images/header_bg.gif" id="Header">
<tr>
<td background="Chapter 26/Beginning/DorknozzleASPX/Images/header_bg.gif"><img src="Chapter 26/Beginning/DorknozzleASPX/Images/header.gif" width="442" height="177" border="0" /></td>
</tr>
</table>
<table width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="180" valign="top"><table width="170" border="0" align="center">
<tr>
<td width="24"><img src="Chapter 26/Beginning/DorknozzleASPX/Images/icon_arrow.gif" width="24" height="23" /></td>
<td><a href="file:///P|/Website/DMX Unleashed 2004 Ed 3/760026/Beginning/DorknozzleASPX/index.aspx" class="link">Home</a></td>
</tr>
<tr>
<td width="24"><img src="Chapter 26/Beginning/DorknozzleASPX/Images/icon_arrow.gif" width="24" height="23" /></td>
<td><a href="file:///P|/Website/DMX Unleashed 2004 Ed 3/760026/Beginning/DorknozzleASPX/helpdesk.aspx" class="link">HelpDesk</a></td>
</tr>
<tr>
<td width="24"><img src="Chapter 26/Beginning/DorknozzleASPX/Images/icon_arrow.gif" width="24" height="23" /></td>
<td><a href="file:///P|/Website/DMX Unleashed 2004 Ed 3/760026/Beginning/DorknozzleASPX/companydirectory.aspx" class="link">Company Directory</a></td>
</tr>
<tr>
<td width="24"><img src="Chapter 26/Beginning/DorknozzleASPX/Images/icon_arrow.gif" width="24" height="23" /></td>
<td><a href="file:///P|/Website/DMX Unleashed 2004 Ed 3/760026/Beginning/DorknozzleASPX/employeestore.aspx" class="link">Employee Store</a></td>
</tr>
<tr>
<td width="24"><img src="Chapter 26/Beginning/DorknozzleASPX/Images/icon_arrow.gif" width="24" height="23" /></td>
<td><a href="file:///P|/Website/DMX Unleashed 2004 Ed 3/760026/Beginning/DorknozzleASPX/admin.aspx" class="link">Admin</a></td>
</tr>
</table></td>
<td width="460" valign="top"><table width="460" border="0" cellpadding="0" cellspacing="0" id="Content">
<tr>
<td><!-- TemplateBeginEditable name="Header Image" --><img src="Chapter 26/Beginning/DorknozzleASPX/Images/subheader_register.gif" width="92" height="26" /><!-- TemplateEndEditable --></td>
</tr>
<tr>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><form [COLOR="BLUE"]runat='server'[/COLOR] name='form1' method='POST' action="">
<table width="450" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" bgcolor="#00CCFF">Personal Information </td>
</tr>
<tr>
<td width="145"> </td>
<td width="305">[COLOR="Red"]
<asp:TextBox ID="departmentid" runat="server" Text="2" visible="false"/>[/Color][COLOR="BLUE"]
<asp:ValidationSummary DisplayMode="BulletList" HeaderText="The following needs attention:" ID="vsSummary" runat="server" />[/COLOR]</td>
</tr>
<tr>
<td width="145">Name</td>
<td width="305">[COLOR="BLUE"]
<asp:TextBox ID="name" runat="server" />
<asp:RequiredFieldValidator ControlToValidate="name" Display="None" ErrorMessage="Name required!" ID="rfvname" runat="server" />[/COLOR]</td>
</tr>
<tr>
<td width="145">Username</td>
<td width="305">[COLOR="BLUE"]
<asp:TextBox ID="username" runat="server" />
<asp:RequiredFieldValidator ControlToValidate="username" Display="None" ErrorMessage="Username required!" ID="rfvusername" runat="server" />[/COLOR]</td>
</tr>
<tr>
<td width="145">Password</td>
<td width="305">[COLOR="BLUE"]
<asp:TextBox ID="password" runat="server" />
<asp:RequiredFieldValidator ControlToValidate="password" Display="None" ErrorMessage="Password required!" ID="rfvpassword" runat="server" />[/COLOR]</td>
</tr>
<tr>
<td width="145">Email</td>
<td width="305">[COLOR="BLUE"]
<asp:TextBox ID="email" runat="server" />
<asp:RequiredFieldValidator ControlToValidate="email" Display="None" ErrorMessage="Email required!" ID="rfvemail" runat="server" />
<asp:RegularExpressionValidator ControlToValidate="email" Display="Dynamic" ErrorMessage="Email is not formatted correctly" ID="regexEmail" runat="server" Text="i.e. [email]joe@domain.com[/email] or [email]joe@domain.com.us[/email]" ValidationExpression="^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$" /> [/COLOR] </td>
</tr>
<tr>
<td width="145">Phone Number </td>
<td width="305">[COLOR="BLUE"]
<asp:TextBox ID="phonenumber" runat="server" />
<asp:RequiredFieldValidator ControlToValidate="phonenumber" Display="None" ErrorMessage="Phone number required!" ID="rfvphonenumber" runat="server" />
<asp:RegularExpressionValidator ControlToValidate="phonenumber" Display="Dynamic" ErrorMessage="Phone Number is not formatted correctly!" ID="regexphonenumber" runat="server" Text="i.e. 2222222222" ValidationExpression="^[2-9]\\d{9}$" />[/COLOR] </td>
</tr>
<tr>
<td width="145">Headshot Location </td>
<td width="305">[COLOR="BLUE"]
<asp:TextBox ID="headshotloc" runat="server" />
<asp:RequiredFieldValidator ControlToValidate="headshotloc" Display="None" ErrorMessage="Headshot location required!" ID="rfvheadshot" runat="server" />
<asp:RequiredFieldValidator ControlToValidate="billshipaddress" Display="None" ErrorMessage="Billing shipping address required!" ID="rfvbillshipaddress" runat="server" />[/COLOR]</td>
</tr>
<tr>
<td width="145">Billing/Shipping Address </td>
<td width="305">[COLOR="BLUE"]
<asp:TextBox ID="billshipaddress" runat="server" />[/COLOR]</td>
</tr>
<tr>
<td width="145">Billing/Shipping City </td>
<td width="305">[COLOR="BLUE"]
<asp:TextBox ID="billshipcity" runat="server" />
<asp:RequiredFieldValidator ControlToValidate="billshipcity" Display="None" ErrorMessage="Billing shipping city required!" ID="rfvbillshipcity" runat="server" />[/COLOR]</td>
</tr>
<tr>
<td width="145">Billing/Shipping State </td>
<td width="305">[COLOR="BLUE"]
<asp:TextBox ID="billshipstate" runat="server" />
<asp:RequiredFieldValidator ControlToValidate="billshipstate" Display="None" ErrorMessage="Billing shipping state required!" ID="rfvbillshipstate" runat="server" />[/COLOR]</td>
</tr>
<tr>
<td width="145">Billing/Shipping Zip </td>
<td width="305">[COLOR="BLUE"]
<asp:TextBox ID="billshipzip" runat="server" />
<asp:RequiredFieldValidator ControlToValidate="billshipzip" Display="None" ErrorMessage="Billing shipping zip required!" ID="rfvbillshipzip" runat="server" />
<asp:RegularExpressionValidator ControlToValidate="billshipzip" Display="Dynamic" ErrorMessage="Zip code is not formatted correctly!" ID="regexZip" runat="server" Text="i.e. 12345" ValidationExpression="^\\d{5}$" />[/COLOR] </td>
</tr>
<tr>
<td width="145"> </td>
<td width="305"> </td>
</tr>
<tr>
<td width="145"> </td>
<td width="305">[COLOR="BLUE"]<asp:Button ID="Submit" runat="server" Text="Submit Here" />[/COLOR]</td>
</tr>
</table>
<input type="hidden" name="MM_insert" value="form1">
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>