simplenews.ascx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:2k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
  2. <%@ Control Language="c#" AutoEventWireup="false" Codebehind="simplenews.ascx.cs" Inherits="qminoa.Webs.usercontrol.simplenews" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
  3. <DIV style="WIDTH: 411px; POSITION: relative; HEIGHT: 189px" ms_positioning="GridLayout">
  4. <asp:LinkButton id="LinkButton1" runat="server" style="Z-INDEX: 101; LEFT: 321px; POSITION: absolute; TOP: 173px" Font-Size="X-Small" Visible="False" Width="82px">>>>更多内容</asp:LinkButton>
  5. <asp:DataGrid id="DataGridnews" runat="server" Width="408px" Height="130px" style="Z-INDEX: 102; LEFT: 0px; POSITION: absolute; TOP: 38px" BorderStyle="None" ShowHeader="False" BorderWidth="0px" AutoGenerateColumns="False" PageSize="6" Font-Size="X-Small">
  6. <Columns>
  7. <asp:TemplateColumn>
  8. <ItemTemplate>
  9. <FONT face="宋体">&nbsp; </FONT>
  10. <asp:Image id="Image1" runat="server" ImageUrl="img/news.gif"></asp:Image>
  11. </ItemTemplate>
  12. </asp:TemplateColumn>
  13. <asp:HyperLinkColumn Text="新闻标题" Target="_blank" DataNavigateUrlField="news_id" DataNavigateUrlFormatString="/Webs/qmin_oa/news/particularnews.aspx?flag={0}" DataTextField="newstitle"></asp:HyperLinkColumn>
  14. <asp:BoundColumn DataField="date"></asp:BoundColumn>
  15. <asp:BoundColumn Visible="False" DataField="newswriter" ReadOnly="True"></asp:BoundColumn>
  16. </Columns>
  17. </asp:DataGrid><IMG style="Z-INDEX: 103; LEFT: 9px; POSITION: absolute; TOP: 4px" src="img/news.jpg"></DIV>