摘要:
转:http://www.soaspx.com/dotnet/asp.net/tech/tech_20120112_8542.html写一个方法: 1 private void DisplayAllControl(Control control, int step) 2 { 3 foreach (Control ctl in control.Controls) 4 { 5 string s = new string('-', step * 4) + ctl.GetType().Name + "〈" + ctl.ID + "〉"; ... 阅读全文