Example #1
0
 /// <include file='doc\TableRowCollection.uex' path='docs/doc[@for="TableRowCollection.Clear"]/*' />
 /// <devdoc>
 /// <para>Removes all <see cref='System.Web.UI.WebControls.TableRow'/> controls from the collection.</para>
 /// </devdoc>
 public void Clear()
 {
     if (owner.HasControls())
     {
         owner.Controls.Clear();
     }
 }
Example #2
0
 /// <devdoc>
 /// <para>Removes all <see cref='System.Web.UI.WebControls.TableRow'/> controls from the collection.</para>
 /// </devdoc>
 public void Clear()
 {
     if (owner.HasControls())
     {
         owner.Controls.Clear();
         owner.HasRowSections = false;
     }
 }