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

  • Home
  • SEARCH
  • 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 7563983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:48:09+00:00 2026-05-30T13:48:09+00:00

I have an ASP.NET webpage where a user can generate 5 different types of

  • 0

I have an ASP.NET webpage where a user can generate 5 different types of reports.

I was wondering if it is acceptable coding practice to create 5 different .aspx pages with 5 different gridViews.

I know I could use just one .aspx page and generate all 5 gridviews dynamically in the server code, but it seems that from a code maintenance point of view, it would be better to separate the various reports into their own page.

I know this might create some code duplication.

Any thoughts?

  • 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-30T13:48:10+00:00Added an answer on May 30, 2026 at 1:48 pm

    You don’t have to duplicate code even if you create multiple pages for your reports. You could just create a business object that contains the code that’s shared among the reports and then the pages would simply implement the specific details.

    I’d probably create separate pages for each report – it’s easier to maintain, plus reports have a habit of evolving over time.

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

Sidebar

Related Questions

I have a TextBox on my ASP.NET webpage, where the user can enter a
I have an ASP.Net webpage where the user selects a row for editing. I
Well I have a web page asp.net(page1.aspx) amm user can choose two options A/B
I have an asp.net web page (C# 2008) where the user would enter an
I have an ASP.NET webpage running under IIS that uses a common assembly that
Scenario: You have an ASP.Net webpage that should display the next image in a
I have an ASP.NET 2.0 (C#) webpage with a link that pulls a blob
I have an ASP.net page. When I am closing the webpage I need to
We have an advanced webpage (ASP.NET, C#), and a application which needs to be
I am wondering how I can get the value from an asp.net textbox that

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.