在不少网页上看到datagrid事件的checkbox的使用,在运行
public void CheckBox1_CheckedChanged(object sender,EventArgs e)
{
System.Web.UI.WebControls.CheckBox CheckBox1=(System.Web.UI.WebControls.CheckBox)sender;
Guid structureUID=new Guid(CheckBox1.Attributes["StructureUID"]);
bool isActive=CheckBox1.Checked;
IPMStructureManager manager=PMStructureManagerFactory.GetInstance();
manager.SetActive(structureUID,isActive);
this.Binding();
}
时出现IPMStructureManager 缺少using或类的引用,this.binding也不可认,怎么回事,望大侠告知!