c#
for(int k = 0; k < tableAppointment.Rows[0].Cells.Count; k++)
{
cellID = tableAppointment.Rows[0].Cells[k];
}
aspx
<table id="tableAppointment" runat="server">
<tr Class="csstextheader">
<td class="csstextheader" width="70px">
</td>
<td class="csstextheader" width="70px">
<b>Time Slot </b>
</td>
<td ID="9"><span>C</span></td>
</tr>
</table>
How do i get the cell Id?
Try this
Determining the cell with the ID, the last cell e.g.
tableAppointment.Rows[0].Cells[2] or tableAppointment.Rows[0].Cells[Count-1]