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 1056505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:43:27+00:00 2026-05-16T17:43:27+00:00

I have a requirement where I would not know the columns and any result

  • 0

I have a requirement where I would not know the columns and any result set information at design-time, so I’d be generating the data-display control dynamically.

What is the most suitable way to display this type of information on-the-fly in a table/grid like structure on an ASP.NET page considering the following parameters (in order of importance):

  1. Performance
  2. Extensibility
  3. Usability

I know I can dynamically generate a gridview/repeater/listview control but what I’d like to understand is which option (from stated ones or any other beyond these) would be an optimal solution.

P.S. Paging and Sorting are part of desired functionalities, but can be overlooked if the solution is overwhelming. 🙂

Thanks for the help!

  • 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-16T17:43:27+00:00Added an answer on May 16, 2026 at 5:43 pm

    I think the performance depends a lot on the data provider: paging and sorting (and filtering) the data are easily the most expensive tasks when dealing with databases – so picking a renderer (GridView/listview/repeater) is more dependent on your comfort with that particular control.

    In terms of extensibility options – Repeater is obviously the least “heavy” – but you’re definitely committing to maintaining a glob of code that loops over and wraps your data and transforms it into “columns” (manually writing elements?) in your repeaterItems. GridView seems to give better row AND column support.

    Usability: I’d really investigate some of the more modern techniques of allowing sorting/paging on grids that use AJAX – it is definitely made easier by ASP.NET AJAX or yes, I’m going to say it, jQuery. The basic concept of what I’m suggesting is: serve up the data via web methods (ScriptService attribute) to a Javascript that will render the table on the browser and handle paging/sorting requests (AJAX calls back to the ScriptService). It is more responsive and generally allows richer UIs than the built-in controls. Check out jQGrid.

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

Sidebar

Related Questions

I have requirement where some times I would like to load children as well
I would like to know what generic requirements are there to have Eclipse headless
I have a requirement to graphically depict relationships between a set of objects as
I have a requirement to pass bulk data between a .NET (c#) application and
I have a requirement to send data from native program written in C through
I have requirement to disable copy/paste/cut operations on a textbox. For this purpose I
I have requirement, wherein I have to calculate totals for cash and credit cards
I have requirement of specifying web part connections in onet.xml. So when site is
I have requirement like, suppose I have a 'property' table which has 'ListingKey' field
I have requirement as following like showing ABPeoplePickerNavigationController in tabbar based application. I researched

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.