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

📄 regclass1.aspx

📁 校友录的总体功能分为三个子功能模块:管理功能模块,用户注册功能模块,用户个性化服务
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RegClass1.aspx.cs" Inherits="Classsel" %>

<%@ Register Src="LeadHead.ascx" TagName="LeadHead" TagPrefix="uc2" %>
     

<!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" type="text/javascript">
//    <style type="text/css">BODY {
//	OVERFLOW-X: hidden; OVERFLOW: scroll
//}
//.DEK {
//	Z-INDEX: 200; VISIBILITY: hidden; POSITION: absolute
//}
//</style>
//Xoffset=-60;
//Yoffset= 20;
//var nav,old,iex=(document.all),yyy=-1000;
//if(navigator.appName=="Netscape"){(document.layers)?nav=true:old=true;}
//if(!old){
//var skn=(nav)?document.dek:dek.style;
//if(nav)document.captureEvents(Event.MOUSEMOVE);
//document.onmousemove=get_mouse;
//}
//function popup(msg,bak){
//var content="<TABLE BORDER=0 Bgcolor=#A9Dccc CELLPADDING=3 CELLSPACING=1 ><td class=novdn style=\"font-weight: bold; font-size: 20px; width: 100px; color: #ff00cc; font-family: 华文行楷\">"+msg+"&nbsp;"+"</TD></TABLE>";
//if(old){alert(msg);return;}
//else{yyy=Yoffset;
// if(nav){skn.document.write(content);skn.document.close();skn.visibility="visible"}
// if(iex){document.all("dek").innerHTML=content;skn.visibility="visible"}
// }
//}

//function get_mouse(e){
//var x=(nav)?e.pageX:event.x+document.body.scrollLeft;skn.left=x+Xoffset;
//var y=(nav)?e.pageY:event.y+document.body.scrollTop;skn.top=y+yyy;
//}
//function kill(){
//if(!old){yyy=-1000;skn.visibility="hidden";}
//}
 
//         <div   id="mytips"   style="position:absolute;background-color:#ffffff;width:121;height:16;border:1px   solid   gray;display:none;  left:0;   top:5; z-index: 100;"> lkjlj</div>   
//function show(tips,flag,msg){
//var my_tips=document.all.mytips;
//if(flag){
//var content="<TABLE BORDER=0 Bgcolor=#A9Dccc CELLPADDING=3 CELLSPACING=1 ><td style=\"font-weight: bold; font-size: 20px; width: 100px; color: #ff00cc; font-family: 华文行楷\">"+msg+"&nbsp;"+"</TD></TABLE>";
//  
//    my_tips.style.display="";
// //   if (url!=null){my_tips.innerHTML=content+tips;}
//      my_tips.innerHTML=content;
//    my_tips.style.left=event.clientX+10;
//    my_tips.style.top=event.clientY+10;
//   }
//else 
//  {
//   my_tips.style.display="none";
//   }
//}

// 
////***********默认设置定义.*********************
//tPopWait=50;//停留tWait豪秒后显示提示。
//tPopShow=5000;//显示tShow豪秒后关闭提示
//showPopStep=20;
//popOpacity=99;

////***************内部变量定义*****************
//sPop=null;
//curShow=null;
//tFadeOut=null;
//tFadeIn=null;
//tFadeWaiting=null;

//document.write("<style type='text/css'id='defaultPopStyle'>");
//document.write(".cPopText {  background-color: #F8F8F5;color:#000000; border: 1px #000000 solid;font-color: font-size: 12px; padding-right: 4px; padding-left: 4px; height: 20px; padding-top: 2px; padding-bottom: 2px; filter: Alpha(Opacity=0)}");
//document.write("</style>");
//document.write("<div id='dypopLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>");


//function showPopupText(){
//var o=event.srcElement;
// MouseX=event.x;
// MouseY=event.y;
// if(o.alt!=null && o.alt!=""){o.dypop=o.alt;o.alt=""};
//        if(o.title!=null && o.title!=""){o.dypop=o.title;o.title=""};
// if(o.dypop!=sPop) {
//   sPop=o.dypop;
//   clearTimeout(curShow);
//   clearTimeout(tFadeOut);
//   clearTimeout(tFadeIn);
//   clearTimeout(tFadeWaiting); 
//   if(sPop==null || sPop=="") {
//    dypopLayer.innerHTML="";
//    dypopLayer.style.filter="Alpha()";
//    dypopLayer.filters.Alpha.opacity=0; 
//    }
//   else {
//    if(o.dyclass!=null) popStyle=o.dyclass 
//     else popStyle="cPopText";
//    curShow=setTimeout("showIt()",tPopWait);
//   }
//   
// }
//}

//function showIt(){
//  dypopLayer.className=popStyle;
//  dypopLayer.innerHTML=sPop;
//  popWidth=dypopLayer.clientWidth;
//  popHeight=dypopLayer.clientHeight;
//  if(MouseX+12+popWidth>document.body.clientWidth) popLeftAdjust=-popWidth-24
//   else popLeftAdjust=0;
//  if(MouseY+12+popHeight>document.body.clientHeight) popTopAdjust=-popHeight-24
//   else popTopAdjust=0;
//  dypopLayer.style.left=MouseX+12+document.body.scrollLeft+popLeftAdjust;
//  dypopLayer.style.top=MouseY+12+document.body.scrollTop+popTopAdjust;
//  dypopLayer.style.filter="Alpha(Opacity=0)";
//  fadeOut();
//}

//function fadeOut(){
// if(dypopLayer.filters.Alpha.opacity<popOpacity) {
//  dypopLayer.filters.Alpha.opacity+=showPopStep;
//  tFadeOut=setTimeout("fadeOut()",1);
//  }
//  else {
//   dypopLayer.filters.Alpha.opacity=popOpacity;
//   tFadeWaiting=setTimeout("fadeIn()",tPopShow);
//   }
//}

//function fadeIn(){
// if(dypopLayer.filters.Alpha.opacity>0) {
//  dypopLayer.filters.Alpha.opacity-=1;
//  tFadeIn=setTimeout("fadeIn()",1);
//  }
//}
////document.onmouseover=showPopupText;
// function pup()
// {
// showPopupText();
// 
// }


</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>

  </head>
<body style="text-align: center; background-image: url(PICTURE/back.gif);">
    <form id="form1" runat="server">  
<div id="first">
           
  <uc2:LeadHead ID="LeadHead1" runat="server" />
        <table border="0" cellpadding="0" cellspacing="0" style="width: 930px; background-color: #f4faed">
            
            <tr>
                <td style="width: 848px">
                    <asp:Label ID="Label5" runat="server" Width="482px"></asp:Label></td>
                <td style="width: 331px">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 848px; text-align: left;">
                    <asp:Label ID="Label1" runat="server" Text="  1.您的班级是下面班级列表中的哪一个? " Width="322px"></asp:Label></td>
                <td style="width: 331px">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 848px; text-align: left; height: 19px;">
                    <asp:Label ID="Label2" runat="server" Text="  可输入班级名称关键字查找,比如:" Width="316px"></asp:Label>
                    <asp:Label ID="Label3" runat="server" ForeColor="#C000C0" Text="软、软件、04软件工程" Width="164px"></asp:Label></td>
                <td style="width: 331px; height: 19px;">
                </td>
                <td style="width: 100px; height: 19px;"> 
                </td>
            </tr>
            <tr>
                <td style="width: 848px; text-align: left;">
                    &nbsp;
                    <asp:Label ID="Label4" runat="server" Width="106px"></asp:Label>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    <asp:Button ID="Button1" runat="server" Text="Button" Width="62px" /></td>
                <td style="width: 331px">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 848px; height: 22px; text-align: right;">
                    &nbsp;<asp:Label ID="Label6" runat="server" Font-Bold="True" Font-Size="Large" Text="入学年份:"
                        Width="100px"></asp:Label></td>
                <td style="width: 331px; height: 22px; text-align: left;">
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="154px">
                    </asp:DropDownList></td>
                <td style="width: 100px; height: 22px;">
                </td>
            </tr>
            <tr>
                <td colspan="3" style="width: 485px">
             
                    <asp:GridView ID="GridView1" runat="server" Width="889px" AllowPaging="True" BorderColor="#A9D46D" CellPadding="0" CellSpacing="1" Height="123px" PageSize="20" AutoGenerateColumns="False" BorderStyle="Solid" BorderWidth="1px" DataKeyNames="ClassNum" DataSourceID="SqlDataSource1">
                        <PagerSettings Mode="NextPreviousFirstLast" Position="TopAndBottom" />
                        <FooterStyle BackColor="#A9D46D" />
                        <RowStyle BackColor="#E3F1D1" BorderColor="#A9D46D" />
                        <HeaderStyle BackColor="#A9D46D" />
                        <AlternatingRowStyle BackColor="#F4FAED" />
                        <Columns>
                            <asp:BoundField DataField="ClassName" HeaderText="班级名称" SortExpression="ClassName" >
                                <ItemStyle BorderColor="#A9D46D" BorderStyle="Dotted" Width="150px" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="班级格言">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                </EditItemTemplate>
                                <ItemStyle BorderColor="#A9D46D" BorderStyle="Dotted" />
                                <ItemTemplate>                            
                                         <img alt="蓝色理想" src="PICTURE/list.gif"  onmouseover="pup()" onmouseout="fadeOut()"  style="width: 37px; height: 33px" />&nbsp;
                                  </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="Teacher" HeaderText="班主任" SortExpression="Teacher" >
                                <ItemStyle BorderColor="#A9D46D" BorderStyle="Dotted" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Monitor" HeaderText="班长" SortExpression="Monitor" >
                                <ItemStyle BorderColor="#A9D46D" BorderStyle="Dotted" />
                            </asp:BoundField>
                            <asp:BoundField DataField="classyear" HeaderText="年份" SortExpression="classyear" >
                                <ItemStyle BorderColor="#A9D46D" BorderStyle="Dotted" />
                            </asp:BoundField>
                            <asp:TemplateField ShowHeader="False" HeaderText="加入班级">
                                <ItemStyle BorderColor="#A9D46D" BorderStyle="Dotted" Width="150px" />
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False"
                                        Text="按钮"></asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                   
        <table id="TABLE1" border="0" cellpadding="0" cellspacing="0"  style="width: 928px; height: 422px;">
            <tr>
                <td style="width: 73px; height: 19px">
                </td>
                <td style="width: 436px; height: 19px; vertical-align: top; text-align: center;">
                    &nbsp;</td>
                <td style="width: 100px; height: 19px">
                </td>
            </tr>
        </table>
                </td>
            </tr>
        </table>
       <a href="#" title="蓝色理想">www.blueidea.com</a>
       </div>
        <table border="0" cellpadding="0" cellspacing="0" style="width: 922px">
            <tr>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
        </table>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ChinaRenConnectionString %>"
            SelectCommand="SELECT [ClassName], [Teacher], [Monitor], [classyear], [ClassNum], [Gyuan] FROM [ClassInfo]">
        </asp:SqlDataSource>
        &nbsp;&nbsp;
    </form>
</body>
</html>

⌨️ 快捷键说明

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