locked
HttpHandler to display data dynamically on page RRS feed

  • Question

  • User-1243539053 posted

    I am building a dynamic website. I want to display data on page and that data will come from database. I have also created master page for site.I want to display data in particular content place holder.The page url should look like abc.aspx?id=1.I just want to display data in label.

    Please help , its urgent.

    Thursday, April 25, 2013 8:25 AM

Answers

  • User1124521738 posted

    doesn't sound like you need an httphander. 

    Just build an aspx page (with or without a master page is OK) and then have a database that has a series of records and has IDs that will be sent as querystring values. 

    Then take the page's querystring as input and query the database by the passed in value and bind the label in your page to the results of the database query.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, April 25, 2013 11:53 AM

All replies

  • User1124521738 posted

    doesn't sound like you need an httphander. 

    Just build an aspx page (with or without a master page is OK) and then have a database that has a series of records and has IDs that will be sent as querystring values. 

    Then take the page's querystring as input and query the database by the passed in value and bind the label in your page to the results of the database query.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, April 25, 2013 11:53 AM
  • User-1243539053 posted

    I also realised later that there is no need  of handler. But whatsoever, thnx for reply.

    Thursday, April 25, 2013 2:26 PM