morenews4.aspx
上传用户:yiyuerguo
上传日期:2014-09-27
资源大小:3781k
文件大小:13k
源码类别:

C#编程

开发平台:

Others

  1. <%@ Page Inherits="www.MyCodeBehind" Src="morenews2.cs" %> 
  2. <!-- saved from url=(0030)http://www.zysie.com/music.htm -->
  3. <HTML><HEAD><TITLE>我的技术社区</TITLE>
  4. <TABLE height=636 cellSpacing=0 cellPadding=0 width=1044 border=0>
  5.   <TBODY>
  6.   <TR>
  7.     <TD align=middle width="4%" height=81><BR>
  8.         <a href="addnews3.aspx"><IMG 
  9.       src="lulu/mv2.gif" width=77 height=22 border=0 align="top"></a></TD>
  10.     <TD align=middle width="4%" height=81><BR>
  11.         <a href="update3.aspx"><IMG height=22 
  12.       src="lulu/mp32.gif" width=77 border=0></a></TD>
  13.     <TD align=middle width="4%"><BR>
  14.         <IMG height=22 
  15.       src="lulu/flash2.gif" width=77 border=0></TD>
  16.     <TD align=middle width="88%">&nbsp;</TD></TR>
  17.   <TR bgcolor="#9D9D9D">
  18.     <TD height=412 colSpan=4><TABLE height=320 cellSpacing=0 cellPadding=0 width="94%" 
  19.       border=0>
  20.           <TBODY>
  21.             <TR align=middle> 
  22.               <TD width=715 bgColor=#b6e1e7 height="100%"> <TABLE width=600 height=352 border=0 cellPadding=0 cellSpacing=0 bordercolor="#FFFFFF" bgcolor="#FFFFFF">
  23.                   <TBODY>
  24.                     <TR> 
  25.                       <TD height="352" align=middle vAlign=center bgColor=#FFFFFF scope=col> 
  26.                         <TABLE width=715 height=286 border=0 cellPadding=0 cellSpacing=5 bordercolor="#CCCCCC" 
  27.                   bgColor=#EAEAEA>
  28.                           <TBODY>
  29.                             <TR> 
  30.                               <td width="31" 
  31.                       height=276 bgColor=#DBD8E7 scope=col><form runat="server">
  32.                                         <table width="708" border="0" align="left" bgcolor="#DEDCED">
  33.                                           <tr> 
  34.                                             <td width="556"> <div align="center"> 
  35.                                                 <ASP:DataGrid id="MyList" 
  36.        AllowPaging="True"    
  37.     PageSize="10"    
  38.     OnPageIndexChanged="MyList_Page"    
  39.     PagerStyle-Visible="false"  
  40.     runat="server" 
  41.     Width="400"
  42.     GridLines="None"
  43.     ShowFooter="false" 
  44.     CellPadding="2"
  45.     CellSpacing="1"
  46.     Font-Name="宋体"
  47.     Font-Size="8pt"
  48.     EnableViewState="false"
  49.     AutoGenerateColumns="false" 
  50.  > 
  51.                                                   <Columns>
  52.                                                   <asp:TemplateColumn>
  53.                                                     <ItemTemplate> 
  54.                                                       <asp:HyperLink  Text='<%# FormatString(DataBinder.Eval(Container.DataItem,"biaoti").ToString())%>'  NavigateUrl='<%# "base4.aspx?id="+DataBinder.Eval(Container.DataItem,"id").ToString()+"" %> ' target="_blank" runat="server"/> 
  55.                                                       <%# DataBinder.Eval(Container.DataItem, "shijian","{0:d}")%>
  56.                                                     </ItemTemplate>
  57.                                                   </asp:TemplateColumn>
  58.                                                   </Columns>
  59.                                                 </asp:DataGrid>
  60.                                               </div></td>
  61.                                           </tr>
  62.                                           <tr> 
  63.                                             <td width="556" height="111"> <div align="center"> 
  64.                                                 <table width="97%" border="0" align="center">
  65.                                                   <tr> 
  66.                                                     <td colspan="10" height="70"> 
  67.                                                       <table width="634" border="0" align="center">
  68.                                                         <tr> 
  69.                                                           <td width="33%"> 
  70.                                                             <div align="center"> 
  71.                                                               <asp:DropDownList id="DropDownList2"  runat="server"/> <asp:Button id="Button3"  Text="确定"  class="input1" Width="50" Height="19" runat="server"/>
  72.                                                             </div></td>
  73.                                                           <td width="43%"> <div align="center"><font size="2">新闻搜索:</font> 
  74.                                                         <asp:TextBox ID="TextBox1" class="input" TITLE="请输入关键字!!" runat="Server" Width="130" Height="18" />
  75.                                                             </div></td>
  76.                                                           <td width="27%"> <div align="center"> 
  77.                                                               <asp:dropdownList id="DropDownList1" runat=server> 
  78.                                                                 <asp:listitem value="zuozhe">按作者查找</asp:listitem>
  79.                                                                 <asp:listitem value="biaoti">按主题查找</asp:listitem>
  80.                                                                 <asp:listitem value="neirong">按内容查找</asp:listitem>
  81.                                                               </asp:dropdownlist>
  82.                                                             </div></td>
  83.                                                           <td width="7%"> <div align="center"> 
  84.                                                               <asp:button text="查找"  OnClick="SubmitBtn_Click" ID="Button1" class="input1" Width="50" Height="19" runat="server"/>
  85.                                                             </div></td>
  86.                                                         </tr>
  87.                                                       </table></td>
  88.                                                   </tr>
  89.                                                   <tr> 
  90.                                                     <td colspan="10" height="2"></td>
  91.                                                   </tr>
  92.                                                   <tr> 
  93.                                                     <td width="43" height="11"> 
  94.                                                       <div align="right"><font size="2">>></font></div></td>
  95.                                                     <td width="54" height="11"> 
  96.                                                       <div align="center"><font color="#0000A0" size="2">分页</font></div></td>
  97.                                                     <td width="49" height="11"> 
  98.                                                       <div align="center"> 
  99.                                                         <asp:LinkButton id="btnFirst" runat="server"    
  100.         Text="首 页"   
  101.         CommandName="Pager"  
  102.         CommandArgument="First"    
  103.         ForeColor="navy"    
  104.         Font-Name="verdana" Font-size="8pt"    
  105.         OnCommand="PagerButtonClick"    
  106.         /></div></td>
  107.                                                     <td width="49" height="11"> 
  108.                                                       <div align="center"> 
  109.                                                         <asp:LinkButton id="btnPrev" runat="server"    
  110.         Text="上一页"    
  111.         CommandName="Pager"  
  112.         CommandArgument="Prev"    
  113.         ForeColor="navy"    
  114.         Font-Name="verdana" Font-size="8pt"    
  115.         OnCommand="PagerButtonClick"    
  116.         /></div></td>
  117.                                                     <td width="49" height="11"> 
  118.                                                       <div align="center"> 
  119.                                                         <asp:LinkButton id="btnNext" runat="server"    
  120.         Text="下一页"    
  121.         CommandName="Pager"  
  122.         CommandArgument="Next"    
  123.         ForeColor="navy"    
  124.         Font-Name="verdana" Font-size="8pt"    
  125.         OnCommand="PagerButtonClick"    
  126.         /></div></td>
  127.                                                     <td width="49" height="11"> 
  128.                                                       <div align="center"> 
  129.                                                         <asp:LinkButton id="btnLast" runat="server"    
  130.         Text="尾 页"    
  131.         CommandName="Pager"  
  132.         CommandArgument="Last"    
  133.         ForeColor="navy"    
  134.         Font-Name="verdana" Font-size="8pt"    
  135.         OnCommand="PagerButtonClick"    
  136.         /></div></td>
  137.                                                     <td width="54" height="11"> 
  138.                                                       <div align="center"> <font color="#0000A0" size="2">页 
  139.                                                         </font><font color="#FF0000" size="2"> 
  140.                                                         <asp:Label id="lblCurrentPage" runat="server"/> 
  141.                                                         </font><font size="2"> 
  142.                                                         /</font> <font color="#FF0000"> 
  143.                                                         <asp:Label id="lblPageCount" runat="server"/> 
  144.                                                         </font></div></td>
  145.                                                     <td width="75" height="11"> 
  146.                                                       <div align="center"><font color="#0000A0" size="2">共<font color="#FF0000"> 
  147.                                                         <asp:Label id="lblRecordCount" runat="server"/> 
  148.                                                         </font> 条</font></div></td>
  149.                                                     <td width="73" height="11"> 
  150.                                                       <div align="center"><font color="#FF0000" size="2">10</font><font color="#0000A0" size="2">条记录/页</font></div></td>
  151.                                                     <td width="145" height="11"> 
  152.                                                       <div align="center"> <font color="#0000A0" size="2">转到第 
  153.                                                         <asp:TextBox class="input" id="txtIndex" runat="server" Width="20" height="15" Columns="2" Font-Size="11px" ForeColor="#0000A0" OnTextChanged="txtIndex_Changed"/>
  154.                                                         页</font> </div></td>
  155.                                                   </tr>
  156.                                                 </table>
  157.                                               </div></td>
  158.                                           </tr>
  159.                                         </table>
  160.                                         <p align="center">&nbsp;</p>
  161.                                       </form>&nbsp;</td>
  162.                             </TR>
  163.                           </TBODY>
  164.                         </TABLE></TD>
  165.                     </TR>
  166.                   </TBODY>
  167.                 </TABLE></TD>
  168.               <TD align=left width=291 bgColor=#b6e1e7> <P>&nbsp;</P>
  169.                 <TABLE width=232 height=160 border=0 align="center" cellPadding=0 cellSpacing=5 
  170.             bgColor=#c0c0c0 style="word-break:break-all">
  171.                   <TBODY>
  172.                     <TR> 
  173.                       <TD width="222" align=left bgColor=#ffffff scope=col> <TABLE width=220 height=150 
  174.                   border=0 cellPadding=0 cellSpacing=0 bgcolor="#FFFFCC" style="word-break:break-all">
  175.                           <TBODY>
  176.                             <TR> 
  177.                               <TH scope=col width=19>&nbsp;</TH>
  178.                               <TD vAlign=center scope=col align=left 
  179.                         width=184>&nbsp;&nbsp;<font size="2">&nbsp;<SPAN id=intro><SPAN 
  180.                         class=jianjie>&nbsp;&nbsp;这里收集的都是我最喜欢的程序代码集,无论它们是否为你所熟悉,我依旧满心期待地将它们推荐给你,因为它们都曾让我真真切切地感受着程序世界中最真实的震撼和曼妙!</SPAN></SPAN></font></TD>
  181.                               <TH scope=col 
  182.               width=17>&nbsp;</TH>
  183.                             </TR>
  184.                           </TBODY>
  185.                         </TABLE></TD>
  186.                     </TR>
  187.                   </TBODY>
  188.                 </TABLE></TD>
  189.             </TR>
  190.           </TBODY>
  191.         </TABLE></TD></TR>
  192.   <TR align=right>
  193.       <TD colSpan=4 height=13><SPAN class=fav><SPAN class=style2><font size="2"><IMG height=11 
  194.       src="lulu的音乐室.files/new_head.gif" width=11 border=0></font></SPAN><font size="2">首页</font></SPAN> 
  195.         <font size="2">&nbsp;&nbsp;&nbsp;<IMG 
  196.       height=11 src="lulu的音乐室.files/new_head.gif" width=11>甜饼森林bbs&nbsp;&nbsp;&nbsp;<IMG height=11 
  197.       src="lulu的音乐室.files/new_head.gif" width=11><SPAN class=fav>留言本&nbsp;&nbsp;</SPAN></font></TD>
  198.     </TR>
  199.   <TR vAlign=top align=right>
  200.     <TD background=lulu的音乐室.files/bj06.jpg colSpan=4 
  201.   height=130>&nbsp;</TD></TR></TBODY></TABLE>
  202. </BODY></HTML>