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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:15:48+00:00 2026-06-16T11:15:48+00:00

I am new to .Net. Currently working on creating a bus layout for a

  • 0

I am new to .Net.
Currently working on creating a bus layout for a online bus reservation system.
is there any solution possible with below code

1. Booking.aspx file

 <asp:Repeater ID="SeatLayout" runat="server">
     <HeaderTemplate><table class="seatList"><tr></HeaderTemplate>
       <ItemTemplate>
         <td>
          <input type="image" 
                  src="../Images/available_seat_img.png" ><%# Eval("NumberSeat")%></input>
          </td>
        </ItemTemplate>

     <FooterTemplate></tr></table></FooterTemplate>
  </asp:Repeater>

2. Databinding in codebehind file.

SeatLayout.DataSource = _seatBUS.GetAllSeatByBusRouter(_listBus);
SeatLayout.DataBind();

3. Data source involves “Seat” table which has columns like

SeatID
NumberSeat
Status
ListBusId
  • 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-16T11:15:51+00:00Added an answer on June 16, 2026 at 11:15 am

    How about this:

    1. Create the bus image using a basic bus background and a bunch of
      smaller images of the various seats in the bus.
    2. Position the seats
      in their respective locations using CSS absolute positioning.
    3. Change the seat image depending on the NumberSeat returned by the
      datasource.

    I’m not sure what your bus image looks like, but you may even be able to use divs instead of seat images, which would lighten the server load and allow you to simply change the background color of the appropriate div ID instead of changing the image sources.

    These tutorials should help you get started:

    • How to position divs absolutely using CSS
    • How to use absolute positioning inside relative positioning.
    • How to install JQuery.
    • How to change background color with jquery.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to c#. I'm currently working on a search function in asp.net
I am creating an ASP.NET MVC 3 e-commerce website and I am currently working
I am currently working on a new application (.Net 3.5/Win2008 Server environment) that does
I am new in iPhone application development and currently working on .net (C#). Please
I am currently working on administrator module as m new to asp.net i am
I'm new to Asp.net and I'm currently working with GridViews. I've looked around this
I'm new at web development with .NET, and I'm currently studying a page where
I am new to Entity Framework. I am currently doing a project in ASP.NET,
I'm currently working on an ASP.NET 3.5 project, and I wanted to know your
I am currently working on a .net project which I am dividing into different

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.