더북(TheBook)

3. FrmLabel.aspx 페이지에 다음과 같이 입력한다.

▼  FrmLabel.aspx

<%@ Page Language=“C#” AutoEventWireup=“true”
  CodeBehind=“FrmLabel.aspx.cs” Inherits=“DevStandardControl.FrmLabel” %>
<!DOCTYPE html>
<html xmlns=http://www.w3.org/1999/xhtml">
<head runat=“server”>
  <meta http-equiv=“Content-Type” content=“text/html; charset=utf-8” />
  <title>레이블 컨트롤</title>
</head>
<body>
  <form id=“form1” runat=“server”>
      <div>
          현재 시간 :
              <asp:Label ID=“lblDateTime” runat=“server”
          BackColor=”#FFFFC0” BorderColor=“Red”
          BorderStyle=“Solid” BorderWidth=“1px”
          ForeColor=“Blue” />
      </div>
  </form>
</body>
</html>

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.