在 HTML 页面中,我有 ID = "week1" 的表格,在 C# 函数中,我将其用作
week1.Rows.Add(TableCell);
我想在表 ID 中转换字符串。假设我有字符串
for(int i=0; i<5; i++)
{
String abc = "week" + i;
/*
How to do cast this string in table ID
like above to add rows and cell in table but above is hardcoded and I want
to make this dynamic.
*/
}
如何在 HTML 表 ID 中转换上面的字符串?????