Hi
I want to pass RatingID as parameter on click on button in a row & want to show data in repeater in Modal Popup
BALSessionRating bALSessionRating = new BALSessionRating(); List<View_SessionRating> Result = bALSessionRating.GetSessionRatingReport(); if (Result != null) { htmlTable.Append("<table class='table table-bordered table-hover datatable-highlight' id='tbldata'>"); htmlTable.Append("<thead><tr><th style='display:none'>#</th><th>Session Delivery No</th><th>Rating By</th><th>Rating For</th><th>Review</th><th class='text-center nosort'>Action</th></tr></thead>"); htmlTable.Append("<tbody>"); foreach (var colum in Result) { htmlTable.Append("<tr>"); htmlTable.Append("<td style='display:none'>" + colum.RatingID + "</td>"); htmlTable.Append("<td>" + colum.SessionDeliveryNo + "</td>"); htmlTable.Append("</tr>"); } htmlTable.Append("</tbody>"); htmlTable.Append("</table>"); PlaceHolderTable.Controls.Add(new Literal { Text = htmlTable.ToString() }); }
Thanks