1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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.
    SEMrush
     
    sefmal, Aug 8, 2012 IP
    SEMrush
  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