Mega Code Archive

 
Categories / ASP.Net / Asp Control
 

Panel Control

<%@ Page Language=VB Debug=true %> <HTML> <HEAD> <TITLE>Setting the Style of a Panel Control</TITLE> </HEAD> <BODY LEFTMARGIN="40"> <form runat="server"> <asp:panel      id="Panel1"      runat="server"     font-name="Arial"     font-bold="True"     forecolor="yellow"     backcolor="blue"     borderstyle=3     bordercolor="green"     borderwidth=4     horizontalalign="Center" >     Enter your name:<BR>     <asp:textbox      id="txtName"      runat=server      />         <BR>     Enter your password:<BR>     <asp:textbox      id="txtPassword"      runat=server      />     </asp:Panel> </form> </BODY> </HTML>