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. pass query string.............

pass query string.............

Scheduled Pinned Locked Moved ASP.NET
databasequestiontutorial
2 Posts 2 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.
  • A Offline
    A Offline
    ani_ikram
    wrote on last edited by
    #1

    how can i pass query string when giving hyperlink to text and in its properties(hyperlink) giving URl of next page (detail.aspx) and then in detail page usging that query string value access data dynamically from database (using control ,datalist) means what would be query like select * from p_table where dvd_id="querystring" //how to do this..?

    B 1 Reply Last reply
    0
    • A ani_ikram

      how can i pass query string when giving hyperlink to text and in its properties(hyperlink) giving URl of next page (detail.aspx) and then in detail page usging that query string value access data dynamically from database (using control ,datalist) means what would be query like select * from p_table where dvd_id="querystring" //how to do this..?

      B Offline
      B Offline
      Blue_Boy
      wrote on last edited by
      #2

      "select * from p_table where dvd_id="+Request.QueryString("QSID"); But be aware of SQL Injections.[^]


      I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

      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