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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:23:58+00:00 2026-05-24T12:23:58+00:00

I use Asp.net 4 and C#. I’m developing a simple CMS, at the moment

  • 0

I use Asp.net 4 and C#.

I’m developing a simple CMS, at the moment I want to displays the content for a specific PAGE (Title, BodyContent, and some other fields) at the end user on a web page (like as this website display its questions to its Users).

I need wrap my fields from database in appropriate HTML TAGS example <h1>Title</h1> <div>BodyContent</div>.

The resulting page should be READ ONLY .

I would like to know:

  1. If a ListView web control with setting for a single row would be the
    right choice (maybe binded with ObjectDataSource).
  2. If would be better use separate Web Controls like Literals or
    Labels to displays my fields sparsely on my webpage
  3. In case of previous point how would I DataBind every single Control? Using different DataBinder or maybe with Linq an projecting using Anonymous Type.

I’m mainly concerned with read-only performance.

  • 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-24T12:23:59+00:00Added an answer on May 24, 2026 at 12:23 pm

    If you have data that’s a single row, there’s not much point in using a ListView. They’re designed for showing lists of data (hence the name). If you have one item, consider either a DetailsView or single Labels.

    If you have a particular class that often needs to be displayed in a certain way, consider setting up a Web User Control that can be bound to instances of that class.

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

Sidebar

Related Questions

I use ASP.NET and have a label control on my page, which I fill
I use asp.net + MVC1.0 and in a web-page I have several forms, within
I have decided to use ASP.NET MVC to develop multi page (registration) forms in
I use Asp.net 4 c# and Page OutPut Cache IN MEMORY for optimizing performances.
If I want to use ASP.Net without the Microsoft AJAX Control Toolkit or JQuery
I use Asp.net 3.5 and EF 4. I need find a specific row in
I use ASP.NET and C# to create file content from binary value FileStruct currentFile
I use ASP.NET in C#, I am pretty new at developing so I would
I want to use ASP.NET Output cache in my website. If i select Location=Any
i want to use asp.net membership provider for my own database i have own

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.