Need help in changing layout at run time using Repeater control
<p>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</p>

<p><strong>1. Booking.aspx file</strong></p>

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

     &lt;FooterTemplate&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/FooterTemplate&gt;
  &lt;/asp:Repeater&gt;
</code></pre>

<p><strong>2. Databinding in codebehind file.</strong></p>

<pre><code>SeatLayout.DataSource = _seatBUS.GetAllSeatByBusRouter(_listBus);
SeatLayout.DataBind();
</code></pre>

<p><strong>3. Data source involves "Seat" table which has columns like</strong></p>

<pre><code>SeatID
NumberSeat
Status
ListBusId
</code></pre>
