Calling variable title tag from DB

Discussion in 'C#' started by sefmal, Aug 8, 2012.

  1. #1
    Hi,

    I'm trying to display a page's title tag directly from a DB filed. This is an access DB and a classic ASP page.
    I'm using this code:

    <title><%=Title%></title>

    but its not working....

    any help would be appreciated.

    Thank you.
     
    sefmal, Aug 8, 2012 IP
  2. diyaots

    diyaots Greenhorn

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    Hi

    Please find the answer of your query.

    <title>

    <% Response.Write Recordset (Title) %>
    </title>
    this will work as long as your recordset is still open.

    Thanks
    Diya
     
    diyaots, Oct 5, 2012 IP