111,129
社区成员
发帖
与我相关
我的任务
分享
string table = "<table width=100px align=center bgcolor=#cccccc border=0 cellpadding=1 cellspacing=1 bordercolor=#6699cc>";
table += "<tr bgcolor=#B0C4DE align=center height=22><td>序号</td><td>选择</td></tr>";
for (int i = 1; i < 4; i++)
{
table += "<tr bgcolor=#ffffff height=20><td align=center>" + i.ToString() + "</td>";
table += "<td><input type='radio' name='xuanze' id='" + i + @"' onclick=""javascript:Select('" + i + @"')"" " + i + " /></td>";//单选项
table += "</tr>";
}
table += "</table>";
Label1.Text = table;