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

C#编程

开发平台:

Others

  1. <%@ Page validateRequest=  "false " Inherits="www.MyCodeBehind" Src="addnews2.cs" %> 
  2. <HTML><HEAD><TITLE>新增新闻</TITLE>
  3. <META http-equiv=Content-Type content="text/html; charset=gb2312">
  4. <STYLE type=text/css>BODY {
  5. SCROLLBAR-FACE-COLOR: #cee06a; FONT-SIZE: 12px; BACKGROUND-ATTACHMENT: fixed; BACKGROUND-IMAGE: url(../line/new%20line/aibi3.gif); MARGIN: 0px; SCROLLBAR-HIGHLIGHT-COLOR: #e4f4b6; SCROLLBAR-SHADOW-COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #ffffff; LINE-HEIGHT: 16px; SCROLLBAR-ARROW-COLOR: #ffffff; SCROLLBAR-TRACK-COLOR: #ffffff; FONT-FAMILY: "宋体"; SCROLLBAR-DARKSHADOW-COLOR: #ffffff; BACKGROUND-COLOR: #ffffff
  6. }
  7. A {
  8. FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: #333333; FONT-STYLE: normal; TEXT-DECORATION: none
  9. }
  10. A:hover {
  11. FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: #858b32; FONT-STYLE: normal; TEXT-DECORATION: underline
  12. }
  13. TABLE {
  14. FONT-SIZE: 12px; WORD-BREAK: break-all; LINE-HEIGHT: 16px; FONT-FAMILY: "宋体"
  15. }
  16. .td1 {
  17. PADDING-RIGHT: 6px; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; PADDING-TOP: 6px
  18. }
  19. .shadowText {
  20. FILTER: DropShadow(Color=#cccccc, OffX=1, OffY=1, Positive=1)
  21. }
  22. .textarea1 {
  23. BORDER-RIGHT: #999900 1px dotted; BORDER-TOP: #999900 1px dotted; FONT-SIZE: 12px; BORDER-LEFT: #999900 1px dotted; COLOR: #000000; BORDER-BOTTOM: #999900 1px dotted; FONT-FAMILY: "Verdana"; BACKGROUND-COLOR: #cee06a
  24. }
  25. .button1 {
  26. BORDER-RIGHT: #009900 1px solid; BORDER-TOP: #009900 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #009900 1px solid; COLOR: #000000; BORDER-BOTTOM: #009900 1px solid; FONT-FAMILY: "宋体"; BACKGROUND-COLOR: #e6ffe6
  27. }
  28. .tdborder1 {
  29. BORDER-RIGHT: #b0d257 1px dotted; BORDER-TOP: #b0d257 1px dotted; BORDER-LEFT: #b0d257 1px dotted; BORDER-BOTTOM: #b0d257 1px dotted
  30. }
  31. FORM {
  32. MARGIN: 0px
  33. }
  34. .grayText {
  35. FILTER: Glow(Color=#cc9999, Strength=2)
  36. }
  37. .style1 {
  38. COLOR: #999900
  39. }
  40. .style2 {
  41. COLOR: #ffffff
  42. }
  43. </STYLE>
  44. <META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
  45. <BODY style="BACKGROUND-REPEAT: repeat-y" text=#000000>
  46. <TABLE cellSpacing=0 cellPadding=0 width=540 align=center border=0>
  47.   <TBODY>
  48.   <TR>
  49.     <TD class=tdborder1 align=middle colSpan=2 height=170><IMG height=248 
  50.       src="lulu/a.jpg" width=540></TD></TR>
  51.   <TR vAlign=bottom>
  52.       <TD align=left width="23%" height=40><SPAN class=style1>&nbsp;&nbsp;<IMG 
  53.       height=11 src="lulu/happa1.gif" width=17> 新增新闻</SPAN></TD>
  54.       <TD align=right><SPAN class=style2>|</SPAN><SPAN class=style1>查看新闻|</SPAN><SPAN 
  55.       class=style2><font color="#999900">新闻管理</font></SPAN></TD>
  56.     </TR>
  57.   <TR>
  58.     <TD class=tdborder1 
  59.     style="BORDER-RIGHT: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" colSpan=2 
  60.     height=20>&nbsp;</TD></TR></TBODY></TABLE>
  61. <TABLE class=tdborder1 cellSpacing=0 cellPadding=0 width=470 align=center 
  62. bgColor=#ffffff border=0>
  63.   <TBODY>
  64.   <TR align=right>
  65.     <TD colSpan=3 height=5></TD></TR>
  66.   <TR>
  67.     <TD vAlign=top colSpan=3 height=50>
  68.       <form enctype="multipart/form-data" runat="server">
  69.           <table width="98%" border="0" align="center" >
  70.             <tr> 
  71.               <td colspan="2"> </td>
  72.             </tr>
  73.             <tr> 
  74.               <td colspan="2"> 类别: 
  75.                 <asp:DropDownList id="DropDownList2"  runat="server"/></td>
  76.             </tr>
  77.             <tr> 
  78.               <td colspan="2"> <div align="left"></div>
  79.                 <div align="center"> 
  80.                   <asp:Label id="Label1" ForeColor="Red" runat="server"/> </div></td>
  81.             </tr>
  82.             <tr> 
  83.               <td colspan="2">标题:
  84.                 <asp:textbox id="biaoti" runat="server"/></td>
  85.             </tr>
  86.             <tr>
  87.               <td colspan="2" nowrap>引子:
  88.     <asp:textbox id="yinzi"   TextMode="MultiLine" Height="50px" Width="350px" runat="server"/></td>
  89.             </tr>
  90.             <tr> 
  91.               <td colspan="2" nowrap>内容:
  92.                 <asp:textbox id="neirong" TextMode="MultiLine" Height="300px" Width="350px" runat="server"/></td>
  93.             </tr>
  94.             <tr> 
  95.               <td colspan="2">作者:
  96.                 <asp:textbox id="zuozhe" runat="server"/></td>
  97.             </tr>
  98.             <tr> 
  99.               <td width="73%">图片: 
  100.                 <input id="File1" type=file Accept="Image/*" runat="server"> </td>
  101.               <td width="27%"> </td>
  102.             </tr>
  103.             <tr> 
  104.               <td width="73%"> <asp:label id=Span1  runat="server" /> </td>
  105.               <td width="27%">&nbsp;</td>
  106.             </tr>
  107.             <tr> 
  108.               <td height="15" colspan="2"></td>
  109.             </tr>
  110.             <tr> 
  111.               <td colspan="2"><input type=button id="Button1" value="发表"  OnServerClick="Button1_Click" runat="server"> 
  112.                 <asp:button id="button2" text="取消" OnClick="reset_Click" runat="server"/></td>
  113.             </tr>
  114.             <tr> 
  115.               <td colspan="2">&nbsp;</td>
  116.             </tr>
  117.           </table>
  118. </form></TD></TR>
  119.   <TR vAlign=bottom>
  120.     <TD class=grayText vAlign=center align=middle width="20%" height=12>
  121.       <DIV align=center></DIV></TD>
  122.       <TD align=left width="50%"> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; </TD>
  123.       <TD align=right height=12>&nbsp;</TD>
  124.     </TR></TBODY></TABLE><BR>
  125. <BR>
  126. <BR>
  127. <BR>
  128. <BR>
  129. <SCRIPT src="留言板.files/myStat.htm"></SCRIPT>
  130. <STYLE type=text/css>.style1 {
  131. COLOR: #999900
  132. }
  133. .style2 {
  134. COLOR: #c6cb87
  135. }
  136. </STYLE>
  137. </BODY></HTML>