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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:42:30+00:00 2026-05-14T20:42:30+00:00

I have a grid named ‘GridView1’ contains two columns ‘Date’ and ‘Session Details’ I

  • 0

I have a grid named ‘GridView1’ contains two columns ‘Date’ and ‘Session Details’ I am displaying like this way only:

<asp:GridView ID="GridView1" OnRowCommand="ScheduleGridView_RowCommand" 
    runat="server" AutoGenerateColumns="False" Height="60px"
    Style="text-align: center" Width="869px" EnableViewState="False">
    <Columns>
        <asp:BoundField HeaderText="Date" DataField="Date">
            <HeaderStyle Width="80px" />
        </asp:BoundField>
        <asp:BoundField DataField="" HeaderText="Session Detais" />
    </Columns>

But here I need to display 3 column sections downside Session details without any column borders for each dates, how can I achieve this.

Date                                                                SessionDetails

06-04-2010                       Time-(value from database)         Topic-(value from database)    Head-(value from database)


-------                               ------------------               -------------------            ----------------------
  • 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-14T20:42:31+00:00Added an answer on May 14, 2026 at 8:42 pm

    You’re going to want to use a TemplateField to define the layout yourself. Something like this will do it:

    <asp:GridView ID="GridView1" OnRowCommand="ScheduleGridView_RowCommand" 
        runat="server" AutoGenerateColumns="False" Height="60px"
        Style="text-align: center" Width="869px" EnableViewState="False">
        <Columns>
            <asp:BoundField HeaderText="Date" DataField="Date">
                <HeaderStyle Width="80px" />
            </asp:BoundField>
            <asp:TemplateField>
                <HeaderTemplate>
                    Session Details
                </HeaderTemplate>
                <ItemTemplate>
                    <span class="col"><%# Eval("Time") %></span>
                    <span class="col"><%# Eval("Topic") %></span>
                    <span class="col"><%# Eval("Head") %></span>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    

    Note: You’ll have to replace Time, Topic, and Head with your real values if they differ. You can then style the placement of the 3 span tags with a style such as:

    <style type="text/css">
        .col { width: 100px; float: left; }
    </style>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have grid something like this: Ext.define('Exp.view.dashboard.Tv', { extend: 'Ext.grid.Panel', initComponent: function() { this.columns
I have one grid view that contains some template columns. In this, the first
Hi i have a table named EMP,which looks like this.... EmpName |EmpBranchName |ApproverId| Anil
I have two Grids inside a Stackpanel. The first grid is named as GridX.
I have a UserControl named myControl and there is a 3 columns Grid within
I have an ItemsControl set up like this: <Grid> <ItemsControl ItemsSource={Binding Asteroids}> <ItemsControl.ItemsPanel> <ItemsPanelTemplate>
I have a grid which I would like to show extra information with RowExpander
I have simple Grid with Image named TestImage and I need pass that Grid
I have a data grid view in one windows form named GridViewForm. When the
I have a button named [Filter] that I'm trying to call the grid search

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.