Ramco Ramco

Ramco Ramco

  • 421
  • 3.4k
  • 501k

Highlight Table Row

Jun 6 2023 9:43 AM

Hi

  I have below code & id record is want i want to highlight Book column of that row in a table

View_SessionDeliveryParticipant_Detailed Result = bALSessionDeliveryParticipant.GetSessionDeliveryParticipantBookHistory(Convert.ToInt32(ddlBook.SelectedItem.Value), StudentCollection);
if (Result != null)
{
    //Highlight column student of that row in a table
}
<table class='table table-bordered table-hover datatable-highlight' id='tbldata'>
    <thead>
        <tr>
            <th>Book</th>
            <th>Session</th>
            <th>Segment</th>
            <th>Session Date</th>
            <th>Session Start Time</th>
            <th>Session End Time</th>
            <th>Mentor</th>
            <th class='nosort'>Student</th>
            <th>Session Status</th>
            <th class='text-center nosort' runat="server" id="ActionCtrls">Action</th>
            <%--<th class='text-center nosort' runat="server" id="Th1">Zero Attendance</th>--%>
        </tr>
    </thead>
    <tbody>
        <asp:PlaceHolder ID="PlaceHolderTable" runat="server"></asp:PlaceHolder>
    </tbody>
</table>

Thanks


Answers (2)