How to clear a form

To clear a web form full of textboxes and form controls just enclose all the objects in a Panel control then on your code behind use the following line


PANELID.Controls.Clear()

No Comments Yet.

Leave a reply

You must be logged in to post a comment.