Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 517.5k

Search a column in a table & highlight

Jun 13 2023 8:11 AM

Hi

 In below code i want to search say ddl1 selected value & then highlight Book Title

htmlTable.Append("<tr>");
htmlTable.Append("<td style='display:none'>" + colum.SessionDeliveryCalendarID + "</td>");
htmlTable.Append("<td style='display:none'>" + colum.BookID + "</td>");
 
 

    htmlTable.Append("<td>" + Count.ToString() + "</td>");
    
 
htmlTable.Append("<td>" + colum.SessionDeliveryNo + "</td>");
 
if (Res.BookAvailableForSession == true)
{
    htmlTable.Append("<td>" + Res.BookTitle + "</td>");
}
</tr>
 PlaceHolderTable.Controls.Add(new Literal { Text = htmlTable.ToString() });
</table>

Thanks


Answers (3)