<%@ page language="C#" autoeventwireup="true" inherits="news, App_Web_news.aspx.cdcab7d2" %>

<!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>news</title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 66px;
        }
        .style3
        {
            width: 31px;
        }
    </style>
    <link href="https://fonts.googleapis.com/css?family=Rokkitt:500" rel="stylesheet">
  
</head>
<body >

    <form id="form1" runat="server">
<marquee onmouseover="this.stop();" 
                    onmouseout="this.start();" truespeed="" scrollamount="1" scrolldelay="50" 
                    direction="down" loop="repeat" height="230px">
           
            <asp:DataList ID="DataList3" runat="server" DataSourceID="AccessDataSource1" 
            Width="150px" ForeColor="Black" 
                            RepeatDirection="Horizontal">
            <ItemTemplate>
                <table class="style1">
                    <tr>
                        <td class="style2" valign="top">
                            <asp:Image ID="Image2" runat="server" Height="16px" 
                                ImageUrl="~/siteimages/adobe_pdf_icon.png" Width="20px" />
                        </td>
                        <td valign="top">
                            <asp:HyperLink ID="HyperLink1" runat="server" Font-Underline="False" 
                                 NavigateUrl='<%# Eval("Attachment", "News/{0}") %>' ForeColor="White" 
                                Target="_blank" style="font-family: 'Rokkitt', serif;"
                                Text='<%# Eval("Heading", "{0}") %>'></asp:HyperLink></p> 
                        </td>
                    </tr>
                </table>
                <hr style="height: -12px; margin-top: 0px; margin-bottom: 0px;" />
            </ItemTemplate>
        </asp:DataList>
    
                    <br />
        <asp:DataList ID="DataList2" runat="server" DataSourceID="AccessDataSource2" 
            Height="16px" Width="150px" RepeatDirection="Horizontal">
            <ItemTemplate>
                <table class="style1">
                    <tr>
                        <td class="style3" valign="top">
                            <asp:Image ID="Image2" runat="server" Height="16px" 
                                ImageUrl="~/siteimages/adobe_pdf_icon.png" Width="20px" />
                        </td>
                        <td valign="top">
                            <asp:Label ID="Label1" runat="server" ForeColor="White"  style="font-family: 'Rokkitt', serif;"
                                Text='<%# Eval("Heading", "{0}") %>'></asp:Label>
                        </td>
                    </tr>
                </table>
                <hr style="height: -12px; margin-top: 0px; margin-bottom: 0px;" />
            </ItemTemplate>
        </asp:DataList>
    
                 
        <asp:AccessDataSource ID="AccessDataSource1" runat="server" 
            DataFile="~/App_Data/superwit.mdb" 
            
        
        SelectCommand="SELECT [Heading], [Attachment] FROM [news] WHERE (([Attachment] &lt;&gt; ?) AND ([Attachment] &lt;&gt; ?)) ORDER BY [sr_no] DESC">
            <SelectParameters>
                <asp:Parameter DefaultValue="no" Name="Attachment" Type="String" />
                <asp:Parameter DefaultValue="-" Name="Attachment2" Type="String" />
            </SelectParameters>
        </asp:AccessDataSource>
    
        <asp:AccessDataSource ID="AccessDataSource2" runat="server" 
            DataFile="~/App_Data/superwit.mdb" 
            
            
        SelectCommand="SELECT [Heading], [Attachment] FROM [news] WHERE (([Attachment] =?) AND ([Attachment] &lt;&gt; ?)) ORDER BY [sr_no] DESC">
            <SelectParameters>
                <asp:Parameter DefaultValue="no" Name="Attachment" Type="String" />
                <asp:Parameter DefaultValue="-" Name="Attachment2" Type="String" />
            </SelectParameters>
        </asp:AccessDataSource>
    
    </div></marquee>

    </form>
</body>
</html>
