Page对象和Form对象的区别与联系?
foreach   (Control   c   in   Page.Controls) 
 { 
          //if   (c.ToString()   ==    "System.Web.UI.WebControls.TextBox ") 
                      Response.Write(c.GetType().ToString()   +    " <br>  "); 
 } 
 foreach   (Control   c   in   form1.Controls) 
 { 
       //if   (c.ToString()   ==    "System.Web.UI.WebControls.TextBox ") 
                      Response.Write(c.GetType().ToString()   +    " <br>  "); 
 } 
 输出的对象不一样呢?
------解决方案--------------------Page 包括了 from
------解决方案--------------------TextBox 的父控件是form1 ,form1的父控件是Page     
 ***************************************************************************** 
 欢迎使用CSDN论坛专用阅读器 : CSDN Reader(附全部源代码)    
 最新版本:20070212   
 http://www.cnblogs.com/feiyun0112/archive/2006/09/20/509783.html