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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Suggestions for displaying search results like Google?

Suggestions for displaying search results like Google?

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

    Hi, I want to search a database for some documents and then present the search results from my web application. I thought about using a GridView but that will display strictly in columns/rows. What I want is to display several rows for each result like this: ---------------------------------------------- Search Result #1 This is a bit of text describing the document This is the actual URL of the document Search Result #2 This is a bit of text describing the document This is the actual URL of the document etc. ----------------------------------------------- Can anyone suggest a good approach? I can't use GridView for this and TextArea won't work either will it? Any other ideas? :)

    J M 2 Replies Last reply
    0
    • W W4Rl0CK47

      Hi, I want to search a database for some documents and then present the search results from my web application. I thought about using a GridView but that will display strictly in columns/rows. What I want is to display several rows for each result like this: ---------------------------------------------- Search Result #1 This is a bit of text describing the document This is the actual URL of the document Search Result #2 This is a bit of text describing the document This is the actual URL of the document etc. ----------------------------------------------- Can anyone suggest a good approach? I can't use GridView for this and TextArea won't work either will it? Any other ideas? :)

      J Offline
      J Offline
      Jay Royall
      wrote on last edited by
      #2

      Maybe a Repeater control?

      1 Reply Last reply
      0
      • W W4Rl0CK47

        Hi, I want to search a database for some documents and then present the search results from my web application. I thought about using a GridView but that will display strictly in columns/rows. What I want is to display several rows for each result like this: ---------------------------------------------- Search Result #1 This is a bit of text describing the document This is the actual URL of the document Search Result #2 This is a bit of text describing the document This is the actual URL of the document etc. ----------------------------------------------- Can anyone suggest a good approach? I can't use GridView for this and TextArea won't work either will it? Any other ideas? :)

        M Offline
        M Offline
        Manas Bhardwaj
        wrote on last edited by
        #3

        You may have a look at Repeater [^]control.

        Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

        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