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

C#编程

开发平台:

Others

  1. <%@ Page Inherits="www.MyCodeBehind" Src="shownews.cs" %> 
  2. <html>
  3. <head>
  4. <title>显示新闻</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  6. </head>
  7. <link rel="stylesheet" href="Style.css" type="text/css">
  8. <body bgcolor="#FFFFFF" text="#000000">
  9. <table width="90%" border="0" align="center">
  10.   <tr>
  11.     <td>
  12.       <div align="center"><asp:adrotator AdvertisementFile="ads.xml" BorderColor="black" BorderWidth=0   runat="server"/></div>
  13.     </td>
  14.   </tr>
  15.   <tr> 
  16.     <td>&nbsp;</td>
  17.   </tr>
  18. </table>
  19. <table width="98%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#006B9F" align="center">
  20.   <tr>
  21.     <td>
  22.       <table width="100%" border="0">
  23.         <tr> 
  24.           <td><font color=#FF8000>『我的新闻』</font></td>
  25.           <td>
  26.             <div align="right"><img src="printer.gif" width="16" height="14"><a href="javascript:window.print()">打印本页</a></div>
  27.           </td>
  28.         </tr>
  29.       </table>
  30.     </td>
  31.   </tr>
  32.   <tr>
  33.     <td height="35">
  34.       <table width="100%" border="0">
  35.         <tr> 
  36.           <td> 
  37.             <div align="center"><font size="3"> <b> <%=FormatString(dr["biaoti"].ToString()).ToString()%> 
  38.               </b> </font></div>
  39.           </td>
  40.         </tr>
  41.         <tr>
  42.           <td>
  43.             <div align="center">
  44. <%if (dr["img"].ToString()!=""){%>
  45.    <img src='file/<%=dr["img"] %>'>
  46. <%}%>
  47. </div>
  48.            
  49.           </td>
  50.         </tr>
  51.         <tr> 
  52.           <td><%=FormatString(dr["neirong"].ToString()).ToString()%> </td>
  53.         </tr>
  54.         <tr> 
  55.           <td> 
  56.             <div align="right"><%=dr["shijian"]%></div>
  57.           </td>
  58.         </tr>
  59.         <tr> 
  60.           <td> 
  61.             <div align="right"><%=FormatString(dr["zuozhe"].ToString()).ToString()%> 
  62.             </div>
  63.           </td>
  64.         </tr>
  65.       </table>
  66.     </td>
  67.   </tr>
  68.   <tr>
  69.     <td>
  70.       <table width="100%" border="0">
  71.         <tr> 
  72.           <td width="24%"><font color="#0000FF">浏览 </font><font color=red><%=dr["click"]%></font><font color="#0000FF"> 
  73.             次</font></td>
  74.           <td width="50%"> 
  75.             <div align="center"><img src="emill.gif"> <img src="g.gif" width="17" height="13"></div>
  76.           </td>
  77.           <td width="26%">
  78.             <div align="right"><a href="javascript:window.close()">关闭窗口</a></div>
  79.           </td>
  80.         </tr>
  81.       </table>
  82.     </td>
  83.   </tr>
  84. </table>
  85. </body>
  86. </html>