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 populate gridview based on another value clicked.

How to populate gridview based on another value clicked.

Scheduled Pinned Locked Moved ASP.NET
databasehelptutorial
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.
  • G Offline
    G Offline
    Garishma
    wrote on last edited by
    #1

    I have a navigation bar which shows the type of recipe. eg: healthy recipe, desserts, etc... I have a gridview on the same page. I want the data in the gridview to be populated as per the selection on navigation bar. I am using VS2010 and sqldatasource to bind with database. I google a lot but cant find any article based on populating gridview with context to navigation bar. Plz help.

    B 1 Reply Last reply
    0
    • G Garishma

      I have a navigation bar which shows the type of recipe. eg: healthy recipe, desserts, etc... I have a gridview on the same page. I want the data in the gridview to be populated as per the selection on navigation bar. I am using VS2010 and sqldatasource to bind with database. I google a lot but cant find any article based on populating gridview with context to navigation bar. Plz help.

      B Offline
      B Offline
      Bikash Prakash Dash
      wrote on last edited by
      #2

      Try to Use Query String , in which you can pass any value through url, according to that value you an bind gridview using sql data source http://www.dotnetperls.com/querystring[^] follow this link you can learn how to use query string

      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