Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7029367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:31:47+00:00 2026-05-28T00:31:47+00:00

I want to create an asp.net web forms website that has a products page.

  • 0

I want to create an asp.net web forms website that has a products page. I want to create a products.aspx page that has a specific layout and there I want to demonstrate the products. So in the url I will have something like www.mysite.gr/products.aspx?productid=1 In other words I want to display different content according to the id from the query string parameter. Please can you propose me some ways to do this and also if you know provide some links that I can study?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:31:48+00:00Added an answer on May 28, 2026 at 12:31 am

    Depending on how your site is laid out and how your project is built, there are various ways to approach this. For example, you can get the value of the QueryString like this:

    string prodID = Request.QueryString["productid"];
    if (prodID  != null)
    {
        //perform database request passing the productid
        selectedProduct =  GetProductData(prodID);
    
    }
    

    Then, as a simple example, you can add the relevant details. For example, lets say you’ve got a product class from your GetProdutData() method. You can then fill out the elements on your page with the relevant data.

    titleLabel.Text = selectedProduct.Title;
    descriptionLabel.Text = selectedProduct.Decription;
    image.ImageUrl = selectedProduct.ImageURL;
    

    This is just one approach and there are various others, such as using the MVC pattern.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a web service in ASP.NET that fetches data from a
I'm creating a login page. I want to create ASP.NET TextBox controls that have
Quite simply I want to be able to test that a Asp.Net web forms
okay...im really puzzled with this. I want to create a regular asp.net webforms website
I want to create a zip extractor for plugins that I create for asp.net
ASP.Net 3.5 I want to create a user control that contains the ListView and
I want to create the membership tables online that are used for ASP.Net 3.5
I'm using ASP.NET web forms in Visual Studio 2010. How can I create UI
I work on a fairly large ASP .NET Web Forms application that is currently
I have an asp.net web app that uses forms-based authentication, a SqlMembershipProvider (using an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.