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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:46:00+00:00 2026-06-09T22:46:00+00:00

This is my database record First_Name Study_Desc VISIT_DATE RATE Sunita Study Cy 2012-02-11 5000.00

  • 0

This is my database record

        First_Name  Study_Desc             VISIT_DATE   RATE
        Sunita      Study Cy               2012-02-11   5000.00
        Imran       Study Ey               2012-02-11   8000.00
        gdf         Study Ud               2012-02-11   7000.00
        shubham     Study Ey               2012-02-11   8000.00
        shweta      Study Ey               2012-02-11   8000.00

I have to show like this in html table. How do I programmatically to show report Study_Desc wise (or is there any database query).

   Study ->(Study Cy)
    FirstName Date       Rate
    Sunita    2012-02-11 5000.00

   Study ->(Study Ey)
   FirstName Date       Rate
   Imran    2012-02-11  8000.00
   shubham  2012-02-11  8000.00
   shweta   2012-02-11  8000.00

  Study ->(Study Ud)
  FirstName Date       Rate
  gdf       2012-02-11 7000.00


<table id="tableReport" runat="server">
</table>

How do I programmatically to show report

I have tried this but not in proper format

  • 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-06-09T22:46:02+00:00Added an answer on June 9, 2026 at 10:46 pm

    Instead of directly writing to the stream it is better to first write in a stringbuilder object.

    1. Place a label control on your page
    2. Write your html in a stringbuilder object
    3. Set the label text property equal to string builder object

    Example:

    aspx Code
    <asp:Label ID="lbReport" runat="server" />
    
    // Code Behind
    
    public void PopulateOnPayment()
    {     
          StringBuilder sb = new StringBuilder();
          sb.Write("<table width='95%' border='1' cellpadding='0' cellspacing='0'             align='center'>");
          sb.Write("<tr>");
          sb.Write("<td>");
          ......
          ............
          .............. write your html and at the end set it equal to label text
    
          lbReport.Text = sb.ToString();
    
     }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have this code which reads the first field in a database record
This loop checks if a record is in the sqlite database and builds a
I have like 400 records on my database, suppose this is the first version
I have a function which calculates distance from database records. This function is called
I have this database structure, SET SQL_MODE=NO_AUTO_VALUE_ON_ZERO; CREATE TABLE IF NOT EXISTS `announces` (
During my work on this database application, I've apparently managed to corrupt a form
How do I import this database correctly? https://github.com/samanz/cakecart Every time I import then I
enter code here My problem is this: in this database the junction table contains
I have a production database where usage statistics reside. This database is responsible for
I'm working on creating a checkbook app for android using a database to record

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.