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 two Grids inside a Stackpanel. The first grid is named as GridX.
I have a page in which I have a grid with 2 columns, one
I have a page named Main.cgi where in I have a horizontal menu bar
I have following grid: <Grid x:Name=grd HorizontalAlignment=Left VerticalAlignment=Top Width=100 Height=100 > <Button x:Name=but OverridesDefaultStyle=True
I'm writting a WPF program.And now i have some problems. There is a Window
For my site, I have a list of users and a list of events.
A couple of weeks ago i have started my research in Iphone app development
Hello, I have 3 Buttons add,delete,open as RelayCommands in my DocumentViewModel . Below you
I am building a webapp in Silverlight 4.0 and I would like it to
My question is about properly binding the property of one element to another. Here

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.