private void Datalist1_ItemDataBound(object sender, System.Web.UI.WebControls.DataListItemEventArgs e)
{

DataList   dl = null;
Label   labTypeID = null;
dl = (DataList)e.Item.FindControl("datalist2");
labTypeID = (Label) e.Item.FindControl("classid");
string commtext="select * from product Where Cid=1114 and Lid=" + labTypeID;
SqlConnection con=new SqlConnection(System.Configuration.ConfigurationSettings.AppSettings["dbConnection"]);
con.Open();
SqlDataAdapter mycommd=new SqlDataAdapter(commtext,con);
DataSet ds=new DataSet();
mycommd.Fill(ds,"product");
con.Close();
dl.DataSource=ds.Tables["product"];
dl.DataBind(); }错误
数字 名称 'System.Web.UI.WebControls' 包含的前缀数目超过了最大值。最大值为 3。