.NET中动态加载的控件怎样改变框架集中的引用页面
我在aspx.cs中写了这样一段码
TableRow newRow = new TableRow();
TableCell nullCell = new TableCell();
nullCell.Height = 20;
nullCell.ColumnSpan = 12;
Button btn = new Button();
btn.ID="xxx";
btn.Text="xxx";
nullCell.Controls.Add( btn );
newRow.Cells.Add( nullCell );
tbLeft.Rows.Add( newRow );
怎样才能在这个控件中添加一个事件使用框架中主页面刷新的事件