Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to set dinamicly text into head

How to set dinamicly text into head

Scheduled Pinned Locked Moved ASP.NET
databasehelptutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    papa80
    wrote on last edited by
    #1

    Hello everybody please help me if you can I just need to know how to set some text between ? dinamicly.It is comming from some db! Best Regards N.Nikolov:)

    when i want to read something good just seat and type it

    G S 2 Replies Last reply
    0
    • P papa80

      Hello everybody please help me if you can I just need to know how to set some text between ? dinamicly.It is comming from some db! Best Regards N.Nikolov:)

      when i want to read something good just seat and type it

      G Offline
      G Offline
      gauthee
      wrote on last edited by
      #2

      you can use the div tag!! lets say the div tag's id is div1 then div1.innerhtml += "whatever you want to do" + your databse values retrieval like ds.tables.rows[][" ddds"].......

      Gautham

      1 Reply Last reply
      0
      • P papa80

        Hello everybody please help me if you can I just need to know how to set some text between ? dinamicly.It is comming from some db! Best Regards N.Nikolov:)

        when i want to read something good just seat and type it

        S Offline
        S Offline
        sstocker
        wrote on last edited by
        #3

        You can give any element an id and set it to runat the server:

        Then you can access it in your code behind: meta.Attributes("NAME") = "description" meta.Attributes("CONTENT") = "this is my description"

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups