/// <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(); } }
/// <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; } }