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>
如何获取单元格 ID?