1.aspx:
<asp:DataList ID="DLIndustry" runat="server">
<ItemTemplate>
<table width="904" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="29" align="left" class="sousuobiao">计算机/互联网/通信/电子
<asp:hiddenfield id="HFID" value='<%# Eval("id") %>' runat="server" />
</td>
</tr>
<tr>
<td height="60" align="left" valign="top">
<asp:DataList ID="DLProfession" runat="server">
<table width="904" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td width="227" height="30" align="left" bgcolor="#F2F2F2" class="heizi" style="padding-left:4px;">计算机硬件</td>
<td width="242" align="left" bgcolor="#F2F2F2" class="heizi" style="padding-left:4px;">计算机软件</td>
<td width="271" align="left" bgcolor="#F2F2F2" class="heizi" style="padding-left:4px;">互联网开发及应用</td>
<td width="154" align="left" bgcolor="#F2F2F2" class="heizi" style="padding-left:4px;">IT-管理</td>
</tr>
</table>
</asp:DataList>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
2.axsc:
protected void DLprojectkind_ItemDataBound(object sender, DataListItemEventArgs e)
{
System.Web.UI.WebControls.DataList dl2 = (System.Web.UI.WebControls.DataList)e.Item.FindControl("DLproject");
int HFKindID = Convert.ToInt32(((System.Web.UI.WebControls.HiddenField)e.Item.FindControl("HFKindID")).Value);
}