先设置linkbutton的。mantname为1aa: 然后用这个t事件来控制: protected void DataList8_ItemCommand(object source, DataListCommandEventArgs e) { if (e。CommandName。ToString()。Equals("aa")) { Panel pan=(Panel)e。Item。FindControl("Panel2"); pan。Visible = true; } } rz盲j〗砖wのy┌たq◢uニxtp