<div id="leibeiset" style=" 390px; height: 98px; float: left;" runat="server">
StringBuilder sb = new StringBuilder();
DataTable dt = a();
sb.Append("<div id='format' style=' 390px; height: 80px; float: left;'>");
foreach (DataRow row in dt.Rows)
{
string str = string.Format("<input type='checkbox' id='check{0}' name='{1}' /><label for='check{2}' style=' 130px; height: 40px; float: left;'>{3}</label>", row["类别ID"].ToString(), row["类别ID"].ToString(), row["类别ID"].ToString(), row["类别名称"].ToString());
sb.Append(str);
}
sb.Append("</div>");
leibeiset.InnerHtml = sb.ToString();