⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default2.aspx

📁 ASPNET程序开发范例宝典02.rar ASP.NET application development paradigm Baodian 02
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>

<!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>弹出网页模式对话框</title>
   <script language="javascript">
		  function a(user)
		  {
		  	parent.window.returnValue=user;
			window.close();
		  }
	 </script>
   
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center">
        <table>
            <tr>
                <td style="width: 249px; height: 35px;">
                    <span style="font-size: 16pt; font-family: 楷体_GB2312"><strong style="color: blue">选择收件人</strong></span></td>
            </tr>
            <tr>
                <td style="width: 249px">
        <asp:DataList ID="DataList1" runat="server" Font-Size="9pt" RepeatColumns="2" RepeatDirection="Horizontal" Width="232px">
            <ItemTemplate>
                <table style="width: 104px" border="2">
                    <tr>
                        <td style="width: 100px; height: 17px;" align="center"><a href="#" style="text-decoration: none;color:DeepSkyBlue;" onclick="a('<%#Eval("name") %>')"><%#Eval("name") %></a>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:DataList></td>
            </tr>
        </table>
        <br />
        &nbsp;</div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -