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

    ▼  FrmSqlDataReader.aspx

    <%@ Page Language="C#" AutoEventWireup="true"
      CodeBehind="FrmSqlDataReader.aspx.cs" Inherits="DevADONET.FrmSqlDataReader" %>
    
    <!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>SqlDataReader 클래스</title>
    </head>
    <body>
      <form id="form1" runat="server">
          <div>
              <asp:Literal ID="tblOutput" runat="server"></asp:Literal>
          </div>
      </form>
    </body>
    </html>
    

     

    웹 폼에 등록된 컨트롤의 주요 속성은 다음과 같다.

    컨트롤(Control)

    속성(Attribute)

    값(Value)

    Literal

    ID

    tblOutput

    Text

    (빈 문자열)

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