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

📄 studentfollow.aspx

📁 一个公司的CRM系统,主要有工厂模式加反射
💻 ASPX
字号:
<%@ page language="C#" autoeventwireup="true" inherits="ChinaedaCRM.ASPX.studentfollow, App_Web_bsmann3t" enableeventvalidation="FALSE" %>
<!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 id="Head1" runat="server">
    <title>无标题页</title>
     <script type="text/javascript" >
   
  
   
function openeditwindow() {

var id=openeditwindow.arguments[0];
window.showModalDialog ("fillStFollow.aspx?state=1&id="+id.toString(),"null","dialogHeight: 450px;dialogWidth: 450px;status:no;scroll:no;help:no");

}
function IMG1_onclick() {
var retvalue=window.showModalDialog ("studentselect.aspx","null","dialogHeight: 450px;dialogWidth: 450px;status:no;scroll:no;help:no");
var strs=retvalue.split('|');
document.getElementById("stid").value=strs[0];
document.getElementById("txtStName").value=strs[1];
}



    </script>
     <style type="text/css" >
       #mainDiv
    {
	  margin-left: auto;
	
	  margin-right: auto;
	  width:600px;
	  height: 600px
    }
    body{font-size:12px;color:#3C4D82;margin:0;}
  #mainTable
    {
   border:0px #3C4D82 solid;
   border-collapse :  collapse ;
    cellpadding:0 ;
    cellspacing:0;
    width: 100%;
    text-align: center;
    }
     #mainTable td
    { border:1px #3C4D82 solid;
     border-collapse :  collapse ;
    } 
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="mainDiv"><table border="0" cellpadding="0" cellspacing="0" style="width: 500px">
            <tr>
                <td style="width: 500px;" align="left">
                   <table border="0" cellpadding="0" cellspacing="0" >
                        <tr>
                            <td style="width: 69px">
                               学生姓名:</td>
                            <td style="width: 98px">
                                <asp:TextBox ID="txtStName" runat="server" Width="80px"></asp:TextBox>
                               </td>
                                 <td style="width: 78px" align="left">
                                  <img src="" id="IMG1" language="javascript" onclick="return IMG1_onclick()" />
                               </td>
                            <td style="width: 40px">
                                <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="查询" /></td>
                            <td style="width: 120px" align="left">
                                </td>
                        </tr>
                    </table>
            </tr>
            <tr>
                <td >
                    <asp:GridView ID="gvList" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        CssClass="mainTable" OnPageIndexChanging="gvList_PageIndexChanging" OnRowDataBound="gvList_RowDataBound"
                        ShowHeader="False">
                        <Columns>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <table border="1" cellpadding="0" cellspacing="0" style="width: 400px;">
                                        <tr>
                                            <td align="left" style="width: 40%">
                                                跟踪时间:<asp:Label ID="Label1" runat="server" Text='<%# Eval("FollowDate","{0:yyyy-MM-dd}") %>'></asp:Label></td>
                                            <td align="left" style="width: 40%">
                                                预约时间:<asp:Label ID="Label2" runat="server" Text='<%# Eval("BookingDate","{0:yyyy-MM-dd}") %>'></asp:Label></td>
                                            <td align="right" style="width: 20%">
                                                <asp:ImageButton ID="btnEdit" runat="server" CommandArgument='<%# Eval("id") %>'
                                                    ImageUrl="~/image/write.gif" />
                                                <asp:ImageButton ID="btnDelete" runat="server" CommandArgument='<%# Eval("id") %>'
                                                    ImageUrl="~/image/images.jpg" OnClick="btnDelete_Click" /></td>
                                        </tr>
                                        <tr>
                                            <td colspan="3" style="height: 17px">
                                                <asp:Literal ID="Literal1" runat="server" Text='<%# Eval("memo") %>'></asp:Literal></div>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <PagerSettings FirstPageText="第一页" LastPageText="最后一页" Mode="NextPreviousFirstLast"
                            NextPageText="下一页" PreviousPageText="上一页" />
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="width: 100px; height: 15px;"> 
                    <asp:HiddenField ID="stid" runat="server" />
         </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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