<%@ Page Language="C#" AutoEventWireup="true" CodeFile="例4-4.aspx.cs" Inherits="例4_4" %>

<!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>例4-4</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        ExecuteScalar方法使用示例：<br />
        <asp:Label ID="Label1" runat="server" Width="222px"></asp:Label><br />
        <asp:Button ID="Button1" runat="server" Text="计算总数" OnClick="Button1_Click1" /><br />
        <br />
        <br />
    </div>
    </form>
</body>
</html>
<script type="text/javascript" ></script>