How to create tab content

Discussion in 'C#' started by arun2freelancer, Sep 5, 2009.

  1. #1
    Anyone can help me on this..

    i need to create a tab content in newsletter like

    2006|2007|2008

    on clicking 2006 list of month will be coming under which pdf file will be attached from admin.

    now the newsletter is like this http://tnsa.in/newsletters.asp

    code:
    <%
    rs.open " select * from newsletters order by newsletterDate desc ",con,2,3
    if not rs.eof then
    while not rs.eof
    %>
    <tr>
    <td width="1"><p style="margin-top: 3"><img border="0" src="images/bullet1.gif" width="7" height="5"></td>
    <td width="300"><a href="downloads/<%=lcase(monthname(month(rs("newsletterDate")),2))%><%=year(rs("newsletterDate"))%>.pdf" target="_blank" title="<%=monthName(month(rs("newsletterDate")))%>&nbsp;<%=year(rs("newsletterDate"))%>"><font color="#053DA1"><%=monthName(month(rs("newsletterDate")))%>&nbsp;<%=year(rs("newsletterDate"))%></font></a></td>
    </tr>
    <%
    rs.movenext
    wend
    end if
    rs.close
    %>


    any one can help mee plsssssssss...
     
    arun2freelancer, Sep 5, 2009 IP
  2. wacamoi

    wacamoi Peon

    Messages:
    810
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    please post your error message here if you have one
     
    Last edited: Sep 6, 2009
    wacamoi, Sep 6, 2009 IP
  3. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #3
    ccoonen, Sep 10, 2009 IP