to,
all....ive come up with this codes on coming up with a registration form.. i debuged it and have not been able to get the output.

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Courier Management</title>
</head>
<body>
    <form id="form1" runat="server">
    <br />
    
    <asp:Label ID="lblUserId" runat="server" Text="User ID"></asp:Label>
    <asp:TextBox ID="txtUserId" runat="server"></asp:TextBox>
    <br />
    
    <asp:Label ID="lblPasswrd" runat="server" Text="PASSWORD"></asp:Label>
    <asp:TextBox ID="txtPasswrd" runat="server"></asp:TextBox>
    <br />
    
    <asp:Label ID="lblPasswrd2" runat="server" Text="RETYPE PASSWORD"></asp:Label>
    <asp:TextBox ID="txtPasswrd2" runat="server"></asp:TextBox>
    <br />
    
    <asp:Label ID="lblSec" runat="server" Text="SECRET QUESTION"></asp:Label>
    <asp:TextBox ID="txtSec" runat="server"></asp:TextBox>
    <br />
    
    <asp:Label ID="lblSecA" runat="server" Text="SECRET ANSWER"></asp:Label>
    <asp:TextBox ID="txtSecA" runat="server"></asp:TextBox>
    <br /><br />
    
    <asp:Label ID="lblFName" runat="server" Text="FIRST NAME"></asp:Label>
    <asp:TextBox runat="server" ID="txtFName"></asp:TextBox>
    <br />
    
    <asp:Label ID="lblLName" runat="server" Text="LAST NAME"></asp:Label>
    <asp:TextBox runat="server" ID="txtLName"></asp:TextBox>
    <br /> 
    
    <asp:Label ID="lblState" runat="server" Text="STATE"></asp:Label>
    <asp:DropDownList ID="ddlState" runat="server">
    <asp:ListItem Selected="True" Value='Johor'></asp:ListItem>
    <asp:ListItem Selected="True" Value='kedah'></asp:ListItem>
    <asp:ListItem Selected="True" Value='Kelantan'></asp:ListItem>
    <asp:ListItem Selected="True" Value='Melaka'></asp:ListItem>
    <asp:ListItem Selected="True" Value='Negeri Sembilan'></asp:ListItem> 
    <asp:ListItem Selected="True" Value='Perak'></asp:ListItem>
    <asp:ListItem Selected="True" Value='Penang'></asp:ListItem>
    <asp:ListItem Selected="True" Value='Perlis'></asp:ListItem>
    <asp:ListItem Selected="True" Value='sabah'></asp:ListItem>
    <asp:ListItem Selected="True" Value='sarawak'></asp:ListItem>
    <asp:ListItem Selected="True" Value='Selangor'></asp:ListItem>
    <asp:ListItem Selected="True" Value='Terengganu'></asp:ListItem>
    <asp:ListItem Selected="True" Value='W.Persekutuan'></asp:ListItem>
    </asp:DropDownList>
    <br />
    
    <asp:Label ID="lblCode" runat="server" Text="POSTAL CODE"></asp:Label>
    <asp:TextBox runat="server" ID="txtCode"></asp:TextBox>
    <br />
    
    <asp:Label ID="lblAdd" runat="server" Text="ADDRESS"></asp:Label>
    <asp:TextBox runat="server" ID="txtadd"></asp:TextBox>
    <br />
    
    <asp:Label ID="lblCity" runat="server" Text="CITY"></asp:Label>
    <asp:TextBox runat="server" ID="txtCity"></asp:TextBox>
    <br />
    
    <asp:Label ID="lblState" runat="server" Text="STATE/PROVINCE"></asp:Label>
    <asp:TextBox runat="server" ID="txtState"></asp:TextBox>
    <br />
    
    <asp:Label ID="lblMail" runat="server" Text="E-MAIL"></asp:Label>
    <asp:TextBox ID="txtMail" runat="server"></asp:TextBox>
    <br />
    
    <asp:Label ID="lblPhone" runat="server" Text="PHONE NUMBER"></asp:Label>
    <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
    <div>
    
    </div>
    </form>
</body>
</html>

Aside from not posting your code inside of the code tags you're supposed to I don't really see the question. If you're debugging it then there is likely code behind which wasn't pasted here?

Edited 3 Years Ago by happygeek: fixed formatting

actually, this is a whole code that represents a registration form. it actually comes with the labels, textbox and also dropdownlist. i m unable to get the output.. am i missing any codes there. i have not coded for a form before. please help..

This article has been dead for over six months. Start a new discussion instead.