<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" 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>动态获取IP地址及服务器名信息</title>
    <style type="text/css">

        .style1
        {
            font-family: 微软雅黑;
            font-size: xx-large;
            color: #008000;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <table align="center" style="width: 600px;">
        <tr>
            <td align="center" class="style1" colspan="2">
                动态获取IP地址及服务器名信息<br />
            </td>
        </tr>
        <tr>
            <td align="right">
                客户端IP地址：</td>
            <td align="center">
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                服务器IP地址：</td>
            <td align="center">
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                服务器名称：</td>
            <td align="center">
                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <asp:Button ID="Button1" runat="server" Height="45px" onclick="Button1_Click" 
                    Text="  确  定  " Width="77px" />
            </td>
        </tr>
    </table>
    <div>
    
    </div>
    </form>
</body>
</html>
